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

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -16,8 +16,9 @@ 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 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"]
 
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 mkdir temp
20
+ RUN unzip code.zip -d temp
21
+ RUN mv temp/* .
22
  RUN python3 -m venv venv
23
  RUN /bin/bash -c "source venv/bin/activate && pip3 install -r requirements.txt"
24
  CMD [ "venv/bin/python","server.py"]