mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Added docker support
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
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"]
|
Reference in New Issue
Block a user