Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -37,7 +37,9 @@ RUN mkdir -p /var/log/nginx && \
|
|
37 |
chmod -R 777 /var/lib/nginx && \
|
38 |
chown -R root:root /var/lib/nginx && \
|
39 |
chmod -R 777 /usr/share/nginx/html && \
|
40 |
-
chown -R root:root /usr/share/nginx/html
|
|
|
|
|
41 |
|
42 |
# Step #3: configure nginx and flask
|
43 |
COPY --from=build-step /app/frontend/build /usr/share/nginx/html
|
|
|
37 |
chmod -R 777 /var/lib/nginx && \
|
38 |
chown -R root:root /var/lib/nginx && \
|
39 |
chmod -R 777 /usr/share/nginx/html && \
|
40 |
+
chown -R root:root /usr/share/nginx/html && \
|
41 |
+
mkdir -p /run && \
|
42 |
+
chmod -R 777 /run
|
43 |
|
44 |
# Step #3: configure nginx and flask
|
45 |
COPY --from=build-step /app/frontend/build /usr/share/nginx/html
|