cipher-sticker-api / Dockerfile
sh4lu-z's picture
Update Dockerfile
92adee7 verified
raw
history blame contribute delete
437 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
# Run the Flask app using Gunicorn (මේක තමයි වෙනස් කරේ)
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]