mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
18 lines
369 B
Docker
18 lines
369 B
Docker
FROM python:3
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install ffmpeg -y
|
|
|
|
COPY ./app/requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY ./app/ .
|
|
COPY ./config/ ./config/
|
|
|
|
#RUN python manage.py migrate
|
|
|
|
CMD ["python", "./manage.py", "runserver", "8000", "--noreload"]
|
|
#CMD ["gunicorn", "YtManager.wsgi", "--bind", "0.0.0.0:8000"]
|