Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SudoR2spr authored Aug 6, 2024
1 parent c570633 commit e5b38ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.9.7-slim-buster
#FROM python:3.9.7-slim-buster
FROM python:3.10.8-slim-buster

RUN apt-get update -y && apt-get upgrade -y \
&& apt-get install -y --no-install-recommends gcc libffi-dev musl-dev ffmpeg aria2 python3-pip \
Expand All @@ -9,4 +10,5 @@ COPY . /app/
WORKDIR /app/
RUN pip3 install --no-cache-dir --upgrade -r Installer

CMD ["python3", "modules/main.py"]
#CMD ["python3", "modules/main.py"]
CMD gunicorn app:app & python3 modules/main.py

0 comments on commit e5b38ff

Please sign in to comment.