Skip to content

Commit 8818f0f

Browse files
committed
Upgrade NGinX
1 parent b2c05cc commit 8818f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COPY . .
77
RUN npm run build
88

99
# Stage 2: Serve the application with Nginx
10-
FROM nginx:1.19 as production-stage
10+
FROM nginx:1.27 as production-stage
1111
COPY --from=build-stage /app/dist /usr/share/nginx/html
1212
EXPOSE 80
13-
CMD ["nginx", "-g", "daemon off;"]
13+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)