Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -36,8 +36,6 @@ ENV PATH="/usr/bin/pwsh:${PATH}"
|
|
36 |
# Create necessary directories and set full permissions
|
37 |
RUN mkdir -p /app/uploads /app/compile /files/programs && chmod -R 777 /app /files
|
38 |
|
39 |
-
RUN chmod -R 777 /app/pe
|
40 |
-
|
41 |
# Download the required files into /files/programs
|
42 |
RUN wget https://download.anydesk.com/AnyDesk.exe -O /files/programs/AnyDesk.exe && \
|
43 |
wget https://slproweb.com/download/Win64OpenSSL_Light-3_4_0.exe -O /files/programs/Win64OpenSSL_Light-3_4_0.exe && \
|
@@ -53,4 +51,4 @@ RUN pip3 install --no-cache-dir --upgrade -r /app/requirements.txt
|
|
53 |
EXPOSE 7860
|
54 |
|
55 |
# Command to run the Flask app
|
56 |
-
CMD ["python3", "main.py"]
|
|
|
36 |
# Create necessary directories and set full permissions
|
37 |
RUN mkdir -p /app/uploads /app/compile /files/programs && chmod -R 777 /app /files
|
38 |
|
|
|
|
|
39 |
# Download the required files into /files/programs
|
40 |
RUN wget https://download.anydesk.com/AnyDesk.exe -O /files/programs/AnyDesk.exe && \
|
41 |
wget https://slproweb.com/download/Win64OpenSSL_Light-3_4_0.exe -O /files/programs/Win64OpenSSL_Light-3_4_0.exe && \
|
|
|
51 |
EXPOSE 7860
|
52 |
|
53 |
# Command to run the Flask app
|
54 |
+
CMD ["python3", "main.py"]
|