modify docker files
This commit is contained in:
+4
-3
@@ -4,6 +4,7 @@ LABEL authors="dmitrium12"
|
|||||||
WORKDIR /audio_resive
|
WORKDIR /audio_resive
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN pip3 install -U pip
|
RUN curl -sSL https://install.python-poetry.org -o install-poetry.py
|
||||||
RUN pip3 install -r requirements.txt
|
RUN python3 install-poetry.py
|
||||||
RUN pip3 install -U openai-whisper
|
ENV PATH="${PATH}:/root/.local/bin"
|
||||||
|
RUN poetry install
|
||||||
|
|||||||
+1
-1
@@ -11,4 +11,4 @@ services:
|
|||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
python main.py
|
poetry run python main.py
|
||||||
|
|||||||
Reference in New Issue
Block a user