We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eee923 commit db8a46aCopy full SHA for db8a46a
3 files changed
Dockerfile
@@ -1,9 +1,9 @@
1
FROM node:16 AS build
2
WORKDIR /app
3
-ADD ./package.json ./package-lock.json /app/
4
-RUN npm install
+ADD ./package.json ./yarn.lock /app/
+RUN yarn
5
ADD . /app
6
-RUN npm run build
+RUN yarn build
7
8
FROM nginx:1.21
9
ADD ./default.conf /etc/nginx/conf.d/default.conf
0 commit comments