hujameson commited on
Commit
db2bf1e
·
verified ·
1 Parent(s): 0a76442

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -26,13 +26,10 @@ COPY . /app
26
  RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
27
  USER appuser
28
 
29
-
30
- RUN chmod 777 /app
31
- #RUN chown appuser /app
32
-
33
  RUN mkdir -p /app/hub
 
34
  RUN chmod 777 /app/hub
35
- #RUN chown appuser /app/hub
36
 
37
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
38
  CMD ["gunicorn", "--bind", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "main:app"]
 
26
  RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
27
  USER appuser
28
 
 
 
 
 
29
  RUN mkdir -p /app/hub
30
+ RUN chmod 777 /app
31
  RUN chmod 777 /app/hub
32
+
33
 
34
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
35
  CMD ["gunicorn", "--bind", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "main:app"]