TechDev commited on
Commit
13e4337
verified
1 Parent(s): 57d9d79

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -6,8 +6,7 @@ RUN apt-get update && \
6
  RUN apt-get install -y wget unzip && apt-get update && apt-get install -y python3 python3-pip python3.12-venv
7
 
8
  ARG DRIVE_CODE
9
- RUN wget -O code.zip "https://drive.google.com/uc?export=download&id="$DRIVE_CODE
10
-
11
 
12
  RUN useradd -ms /bin/bash appuser
13
  RUN usermod -aG sudo appuser
@@ -16,7 +15,7 @@ RUN echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
16
  USER appuser
17
 
18
  WORKDIR /app
19
- COPY code.zip /app
20
  RUN unzip code.zip
21
  RUN sudo chmod -R 777 /app
22
  RUN python3 -m venv venv
 
6
  RUN apt-get install -y wget unzip && apt-get update && apt-get install -y python3 python3-pip python3.12-venv
7
 
8
  ARG DRIVE_CODE
9
+ RUN wget -O ./code.zip "https://drive.google.com/uc?export=download&id="$DRIVE_CODE
 
10
 
11
  RUN useradd -ms /bin/bash appuser
12
  RUN usermod -aG sudo appuser
 
15
  USER appuser
16
 
17
  WORKDIR /app
18
+ COPY ./code.zip /app
19
  RUN unzip code.zip
20
  RUN sudo chmod -R 777 /app
21
  RUN python3 -m venv venv