Spaces:
Build error
Build error
Upload Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -6,7 +6,6 @@ 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 |
RUN useradd -ms /bin/bash appuser
|
12 |
RUN usermod -aG sudo appuser
|
@@ -15,7 +14,7 @@ RUN echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
15 |
USER appuser
|
16 |
|
17 |
WORKDIR /app
|
18 |
-
|
19 |
RUN unzip code.zip
|
20 |
RUN sudo chmod -R 777 /app
|
21 |
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 |
|
10 |
RUN useradd -ms /bin/bash appuser
|
11 |
RUN usermod -aG sudo appuser
|
|
|
14 |
USER appuser
|
15 |
|
16 |
WORKDIR /app
|
17 |
+
RUN wget -O code.zip "https://drive.google.com/uc?export=download&id=$DRIVE_CODE"
|
18 |
RUN unzip code.zip
|
19 |
RUN sudo chmod -R 777 /app
|
20 |
RUN python3 -m venv venv
|