cipher-sticker-api / Dockerfile
sh4lu-z's picture
Update Dockerfile
322d6c1 verified
Raw
History Blame Contribute Delete
367 Bytes
FROM python:3.9
# Install FFmpeg
RUN apt-get update && \
apt-get install -y ffmpeg libsm6 libxext6 && \
rm -rf /var/lib/apt/lists/*
# Set up the app
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . /code
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
print("Stop")