Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:
|
| 2 |
|
| 3 |
# Install dependencies
|
| 4 |
RUN apt-get update && \
|
|
@@ -29,6 +29,11 @@ RUN chown -R 1000:0 /Hellbot && \
|
|
| 29 |
chmod -R 755 /Hellbot && \
|
| 30 |
chmod +x /Hellbot/start.sh
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
# Expose port
|
| 33 |
EXPOSE 7860
|
| 34 |
|
|
|
|
| 1 |
+
FROM rendyprojects/python:latest
|
| 2 |
|
| 3 |
# Install dependencies
|
| 4 |
RUN apt-get update && \
|
|
|
|
| 29 |
chmod -R 755 /Hellbot && \
|
| 30 |
chmod +x /Hellbot/start.sh
|
| 31 |
|
| 32 |
+
RUN chown -R 1000:0 .
|
| 33 |
+
RUN chmod 777 .
|
| 34 |
+
RUN chown -R 1000:0 /usr
|
| 35 |
+
RUN chmod 777 /usr
|
| 36 |
+
|
| 37 |
# Expose port
|
| 38 |
EXPOSE 7860
|
| 39 |
|