Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -42,10 +42,10 @@ RUN mkdir -p /var/log/nginx && \
|
|
42 |
chmod -R 777 /run
|
43 |
|
44 |
# Step #3: Configure nginx and flask
|
45 |
-
COPY --from=build-step /app/frontend/build /
|
46 |
-
COPY deployment/docker/nginx.conf /etc/nginx/
|
47 |
-
COPY deployment/docker/serve.sh .
|
48 |
-
RUN chmod +x
|
49 |
|
50 |
# Remove the user directive if present
|
51 |
RUN sed -i '/^user /d' /etc/nginx/nginx.conf
|
|
|
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
|
46 |
+
COPY deployment/docker/nginx.conf /etc/nginx/nginx.conf
|
47 |
+
COPY deployment/docker/serve.sh /serve.sh
|
48 |
+
RUN chmod a+x /serve.sh
|
49 |
|
50 |
# Remove the user directive if present
|
51 |
RUN sed -i '/^user /d' /etc/nginx/nginx.conf
|