Skip to content

Commit 6cb1e9f

Browse files
authored
Merge pull request #675 from mozilla-iam/izo/alpine-1.21.6
Update nginx to 1.21.6-alpine
2 parents b2e4432 + 935202f commit 6cb1e9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ ENV DP_BASE_URL=$baseurl
1111
RUN npm run build
1212

1313
# production stage
14-
FROM nginx:1.17-alpine as production-stage
14+
FROM nginx:1.21.6-alpine as production-stage
1515
COPY nginx.conf /etc/nginx/conf.d/default.conf
1616
ARG baseurl=/
1717
COPY --from=build-stage /app/dist /usr/share/nginx/html$baseurl
1818
COPY --from=build-stage /app/src/assets/images/user-demo.png /usr/share/nginx/html${baseurl}img/
1919
COPY --from=build-stage /app/dist/index.html /usr/share/nginx/html/index.html
2020
RUN ln -s /config /usr/share/nginx/html${baseurl}/config
2121
EXPOSE 80
22-
CMD ["nginx", "-g", "daemon off;"]
22+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)