We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2e4432 + 935202f commit 6cb1e9fCopy full SHA for 6cb1e9f
1 file changed
Dockerfile
@@ -11,12 +11,12 @@ ENV DP_BASE_URL=$baseurl
11
RUN npm run build
12
13
# production stage
14
-FROM nginx:1.17-alpine as production-stage
+FROM nginx:1.21.6-alpine as production-stage
15
COPY nginx.conf /etc/nginx/conf.d/default.conf
16
ARG baseurl=/
17
COPY --from=build-stage /app/dist /usr/share/nginx/html$baseurl
18
COPY --from=build-stage /app/src/assets/images/user-demo.png /usr/share/nginx/html${baseurl}img/
19
COPY --from=build-stage /app/dist/index.html /usr/share/nginx/html/index.html
20
RUN ln -s /config /usr/share/nginx/html${baseurl}/config
21
EXPOSE 80
22
-CMD ["nginx", "-g", "daemon off;"]
+CMD ["nginx", "-g", "daemon off;"]
0 commit comments