Update Dockerfile
This commit is contained in:
+1
-3
@@ -7,10 +7,8 @@ COPY . .
|
|||||||
|
|
||||||
# Stage 2: Production
|
# Stage 2: Production
|
||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
WORKDIR /etc/nginx
|
|
||||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||||
WORKDIR /usr/share/nginx/html
|
COPY --from=build /app/build /usr/share/nginx/html
|
||||||
COPY --from=build /app/build .
|
|
||||||
|
|
||||||
# Expose port 80
|
# Expose port 80
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
Reference in New Issue
Block a user