Spaces:
Build error
Build error
Upload Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -15,8 +15,8 @@ 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
|
21 |
RUN /bin/bash -c "source venv/bin/activate && pip3 install -r requirements.txt"
|
22 |
-
CMD [ "venv/bin/python","
|
|
|
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 /app
|
19 |
RUN sudo chmod -R 777 /app
|
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"]
|