navpan2 commited on
Commit
e609772
·
verified ·
1 Parent(s): e019435

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -6,9 +6,9 @@ ENV PYTHONDONTWRITEBYTECODE 1
6
  ENV PYTHONUNBUFFERED 1
7
 
8
  # Create necessary directories
9
- RUN mkdir -p /home/app/staticfiles/app/uploaded_videos/
10
  WORKDIR /app
11
-
12
  # Install system dependencies for dlib
13
  RUN apt-get update && apt-get install -y \
14
  build-essential \
@@ -37,7 +37,7 @@ RUN pip install dlib-19.24.99-cp37-cp37m-linux_x86_64.whl
37
  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
38
 
39
  # Copy application files
40
- COPY . /app
41
  RUN python manage.py collectstatic --noinput
42
  RUN pip install gunicorn
43
 
 
6
  ENV PYTHONUNBUFFERED 1
7
 
8
  # Create necessary directories
9
+ RUN mkdir -p /home /app /staticfiles /app/uploaded_videos/
10
  WORKDIR /app
11
+ COPY . /app
12
  # Install system dependencies for dlib
13
  RUN apt-get update && apt-get install -y \
14
  build-essential \
 
37
  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
38
 
39
  # Copy application files
40
+
41
  RUN python manage.py collectstatic --noinput
42
  RUN pip install gunicorn
43