build: 🚀 Use Alpine for image
Found out that Alpine works after fixing issue in about command
This commit is contained in:
parent
696f6c746a
commit
b279e0aeed
2 changed files with 6 additions and 3 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:19 AS builder
|
||||
FROM node:19-alpine3.16 AS builder
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
@ -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 ./
|
||||
|
|
Loading…
Add table
Reference in a new issue