TechDev commited on
Commit
b214e0b
·
verified ·
1 Parent(s): 9a614cc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -18,11 +18,11 @@ RUN echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
18
 
19
  USER appuser
20
 
21
- WORKDIR .
22
 
23
- COPY . .
24
 
25
- RUN sudo chmod -R 777 .
26
 
27
  RUN python3 -m venv venv
28
  RUN /bin/bash -c "source venv/bin/activate && python3 install.py && pip3 install -r requirements.txt"
 
18
 
19
  USER appuser
20
 
21
+ WORKDIR /app
22
 
23
+ COPY . /app
24
 
25
+ RUN sudo chmod -R 777 /app
26
 
27
  RUN python3 -m venv venv
28
  RUN /bin/bash -c "source venv/bin/activate && python3 install.py && pip3 install -r requirements.txt"