We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d2ac3 commit c019e89Copy full SHA for c019e89
2 files changed
.gitignore
@@ -4,7 +4,6 @@
4
.env.local
5
package-lock.json
6
yarn.lock
7
-Dockerfile
8
9
# folders
10
build
Dockerfile
@@ -0,0 +1,16 @@
1
+FROM node:16-alpine AS base
2
+
3
+WORKDIR /opt/app
+COPY package.json /opt/app
+RUN npm install
+FROM base AS build
+COPY . /opt/app
11
+RUN sh ./scripts/build.sh
12
13
+FROM base as production
14
15
+COPY . .
16
+CMD sh ./scripts/start.sh
0 commit comments