Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -41,11 +41,11 @@ RUN mkdir -p /var/log/nginx && \
|
|
41 |
mkdir -p /run && \
|
42 |
chmod -R 777 /run
|
43 |
|
44 |
-
# Step #3:
|
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
|
49 |
|
50 |
|
51 |
# Expose port 8080
|
|
|
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 /var/www/html
|
46 |
+
COPY deployment/docker/nginx.conf /etc/nginx/sites-enabled/default
|
47 |
+
COPY deployment/docker/serve.sh .
|
48 |
+
RUN chmod +x ./serve.sh
|
49 |
|
50 |
|
51 |
# Expose port 8080
|