Skip to content

Commit

Permalink
build: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Trickfilm400 committed May 12, 2023
1 parent 95a7069 commit 7293c59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM node:16-alpine3.16 AS builder
FROM node:18-alpine3.17 AS builder

WORKDIR /build

# copy files and run build, then install production dependencies
COPY . .
RUN npm ci
RUN npm ci --fund=false
RUN npm run build
RUN npm ci --only=production
RUN npm ci --omit=dev --fund=false --audit=false

FROM node:16-alpine3.16
FROM node:18-alpine3.17

MAINTAINER Trickfilm400, info@trickfilm400.de

Expand Down

0 comments on commit 7293c59

Please sign in to comment.