modify docker files

This commit is contained in:
2024-06-21 13:01:17 +07:00
parent e1034fb927
commit eb864e255b
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -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
View File
@@ -11,4 +11,4 @@ services:
- /bin/sh - /bin/sh
- -c - -c
- | - |
python main.py poetry run python main.py