We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61f6af commit aa9601bCopy full SHA for aa9601b
src/frontend/submission_form/Dockerfile
@@ -1,9 +1,10 @@
1
-FROM node:8.2.1 as build-stage
+FROM node:18-slim as build-stage
2
RUN mkdir /usr/src/app
3
WORKDIR /usr/src/app
4
ENV PATH /usr/src/app/node_modules/.bin:$PATH
5
COPY src/frontend/submission_form .
6
-RUN npm install --silent
+RUN npm cache clean --force
7
+RUN npm install --legacy-peer-deps --silent
8
RUN npm run build --production
9
10
FROM nginx:1.15.2-alpine
0 commit comments