Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -8
Dockerfile
CHANGED
@@ -25,14 +25,13 @@ WORKDIR /Hellbot
|
|
25 |
COPY . .
|
26 |
|
27 |
# Set appropriate permissions
|
28 |
-
RUN chown -R 1000:0 /Hellbot
|
29 |
-
|
30 |
-
chmod
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
RUN chmod 777 /usr
|
36 |
|
37 |
# Expose port
|
38 |
EXPOSE 7860
|
|
|
25 |
COPY . .
|
26 |
|
27 |
# Set appropriate permissions
|
28 |
+
RUN chown -R 1000:0 /Hellbot \
|
29 |
+
&& chown -R 1000:0 . \
|
30 |
+
&& chmod 777 . \
|
31 |
+
&& chmod 777 /usr \
|
32 |
+
&& chown -R 1000:0 /usr \
|
33 |
+
&& chmod -R 755 /Hellbot \
|
34 |
+
&& chmod +x /Hellbot/start.sh
|
|
|
35 |
|
36 |
# Expose port
|
37 |
EXPOSE 7860
|