InnovisionLLC commited on
Commit
34daa42
·
1 Parent(s): 5015f69

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -46,12 +46,16 @@ USER root
46
  RUN mkdir -p /data && chown user:user /data
47
 
48
  # Switch to the "user" user
 
49
  USER user
50
-
51
- COPY --chown=user . /app
52
  # Install Python dependencies
53
  RUN pip install --no-cache-dir -r requirements.txt
54
 
 
 
 
 
55
  # COPY --chown=user . $HOME/app
56
  # RUN mkdir -p /data
57
  # RUN chmod 777 /data
 
46
  RUN mkdir -p /data && chown user:user /data
47
 
48
  # Switch to the "user" user
49
+ WORKDIR /app
50
  USER user
51
+ COPY --chown=user requirements.txt /app/
 
52
  # Install Python dependencies
53
  RUN pip install --no-cache-dir -r requirements.txt
54
 
55
+
56
+ COPY --chown=user . /app
57
+
58
+
59
  # COPY --chown=user . $HOME/app
60
  # RUN mkdir -p /data
61
  # RUN chmod 777 /data