Skip to content

Commit

Permalink
fix: Use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia committed Feb 14, 2024
1 parent c1c47a1 commit 03161ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG RUN

FROM node:18 as builderenv
FROM node:18-alpine as builderenv

WORKDIR /app

Expand All @@ -21,7 +21,7 @@ RUN npm run test
# remove devDependencies, keep only used dependencies
RUN npm install --only=production --maxsockets=5

FROM node:18
FROM node:18-alpine

RUN apk update
RUN apk add --no-cache tini
Expand Down

0 comments on commit 03161ee

Please sign in to comment.