TechDev commited on
Commit
7296192
verified
1 Parent(s): b3a5197

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -16,7 +16,8 @@ USER appuser
16
  WORKDIR /app
17
  RUN wget -O code.zip "https://drive.google.com/uc?export=download&id=$DRIVE_CODE"
18
  RUN sudo chmod -R 777 /app
19
- RUN unzip code.zip -d .
 
20
  RUN python3 -m venv venv
21
  RUN /bin/bash -c "source venv/bin/activate && pip3 install -r requirements.txt"
22
  CMD [ "venv/bin/python","server.py"]
 
16
  WORKDIR /app
17
  RUN wget -O code.zip "https://drive.google.com/uc?export=download&id=$DRIVE_CODE"
18
  RUN sudo chmod -R 777 /app
19
+ RUN mv code.zip code_path.zip
20
+ RUN unzip code_path.zip -d .
21
  RUN python3 -m venv venv
22
  RUN /bin/bash -c "source venv/bin/activate && pip3 install -r requirements.txt"
23
  CMD [ "venv/bin/python","server.py"]