Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -38,12 +38,10 @@ RUN pip install dlib-19.24.99-cp37-cp37m-linux_x86_64.whl
|
|
38 |
RUN pip install altair asgiref astor attrs backcall base58 bleach blinker cachetools certifi chardet click colorama cycler decorator defusedxml Django docutils entrypoints enum-compat face-recognition face-recognition-models future google google-api-core google-api-python-client google-auth google-auth-httplib2 googleapis-common-protos httplib2 idna ipykernel ipython ipython-genutils ipywidgets jedi Jinja2 jmespath json5 jsonschema jupyter-client jupyter-core jupyterlab jupyterlab-server kiwisolver MarkupSafe matplotlib mistune nbconvert nbformat notebook numpy packaging pandas pandocfilters parso pathtools pickleshare Pillow prometheus-client prompt-toolkit pyasn1 pyasn1-modules pycodestyle pydeck Pygments pyparsing pyrsistent python-dateutil pytz pywinpty PyYAML pyzmq requests rsa s3transfer Send2Trash six soupsieve sqlparse terminado testpath toml toolz torch torchvision tornado traitlets tzlocal uritemplate urllib3 validators watchdog wcwidth webencodings widgetsnbextension
|
39 |
|
40 |
# Copy application files
|
41 |
-
|
42 |
RUN python manage.py collectstatic --noinput
|
43 |
RUN pip install gunicorn
|
44 |
|
45 |
-
# Create uploaded videos directory
|
46 |
-
RUN mkdir -p /app/uploaded_videos /app/uploaded_images/
|
47 |
|
48 |
# Expose volume and set entry point
|
49 |
VOLUME /app/run/
|
|
|
38 |
RUN pip install altair asgiref astor attrs backcall base58 bleach blinker cachetools certifi chardet click colorama cycler decorator defusedxml Django docutils entrypoints enum-compat face-recognition face-recognition-models future google google-api-core google-api-python-client google-auth google-auth-httplib2 googleapis-common-protos httplib2 idna ipykernel ipython ipython-genutils ipywidgets jedi Jinja2 jmespath json5 jsonschema jupyter-client jupyter-core jupyterlab jupyterlab-server kiwisolver MarkupSafe matplotlib mistune nbconvert nbformat notebook numpy packaging pandas pandocfilters parso pathtools pickleshare Pillow prometheus-client prompt-toolkit pyasn1 pyasn1-modules pycodestyle pydeck Pygments pyparsing pyrsistent python-dateutil pytz pywinpty PyYAML pyzmq requests rsa s3transfer Send2Trash six soupsieve sqlparse terminado testpath toml toolz torch torchvision tornado traitlets tzlocal uritemplate urllib3 validators watchdog wcwidth webencodings widgetsnbextension
|
39 |
|
40 |
# Copy application files
|
41 |
+
RUN mkdir -p /app/staticfiles /app/uploaded_videos /app/uploaded_images
|
42 |
RUN python manage.py collectstatic --noinput
|
43 |
RUN pip install gunicorn
|
44 |
|
|
|
|
|
45 |
|
46 |
# Expose volume and set entry point
|
47 |
VOLUME /app/run/
|