Skip to content

Commit

Permalink
build: 🚀 Use Alpine for image
Browse files Browse the repository at this point in the history
Found out that Alpine works after fixing issue in about command
  • Loading branch information
VermiumSifell committed Dec 13, 2022
1 parent b992e87 commit 04b73b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"conventionalCommits.scopes": ["git", "github", "prisma"]
"conventionalCommits.scopes": ["git", "github", "prisma"],
"[dockerfile]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
}
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:19 AS builder
FROM node:19-alpine3.16 AS builder

# Create app directory
WORKDIR /app
Expand All @@ -14,7 +14,7 @@ COPY . .

RUN npm run build

FROM node:19
FROM node:19-alpine3.16

COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package*.json ./
Expand Down

0 comments on commit 04b73b6

Please sign in to comment.