We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da7c14 commit 9b7fe12Copy full SHA for 9b7fe12
.dockerignore
@@ -0,0 +1,8 @@
1
+/node_modules
2
+.env
3
+package-lock.json
4
+/build
5
+.git/
6
+docs/
7
+.vscode/
8
+.github/
Dockerfile
@@ -1,4 +1,4 @@
-FROM node:16.18.1-alpine AS deps
+FROM node:16.18.1-slim AS deps
WORKDIR /app
@@ -10,7 +10,7 @@ COPY src ./src
10
RUN yarn install --frozen-lockfile
11
RUN npm run build
12
13
-FROM node:16.18.1-alpine
+FROM node:16.18.1-slim
14
15
16
@@ -21,4 +21,4 @@ COPY yarn.lock ./
21
RUN yarn install --frozen-lockfile && rm -rf /usr/local/share/.cache
22
COPY --from=deps /app/build .
23
24
-CMD ["node","index.js"]
+CMD ["node","index.js"]
0 commit comments