Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Sep 30, 2024
1 parent 279188d commit fe18f8b
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,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:alpine as builder
FROM --platform=$BUILDPLATFORM node:alpine AS builder

WORKDIR /portainer-backup

Expand All @@ -21,7 +21,7 @@ RUN case ${TARGETPLATFORM} in \
esac \
&& npm install --cpu=${NPM_ARCH} --os=linux --omit=dev

FROM node:alpine as runner
FROM node:alpine AS runner
ENV NODE_ENV=production

RUN apk add --no-cache tzdata && rm -rf /var/cache/apk/*
Expand Down

0 comments on commit fe18f8b

Please sign in to comment.