Skip to content

Commit

Permalink
fix: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrufino committed Aug 17, 2024
1 parent bbfbe46 commit 98838e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ WORKDIR /opt/app
COPY package*.json ./
RUN npm ci
COPY . .
RUN cp .env.example .env
RUN NODE_ENV=production npm run build
RUN cp .env.example .env \
NODE_ENV=production npm run build
# Remove NODE_ENV above?

FROM node:20-alpine
RUN apk add --no-cache vips-dev
RUN apk add --no-cache vips-dev=8.15.2-r1
ENV NODE_ENV=production
WORKDIR /opt/app
COPY --from=build /opt/app ./
Expand Down

0 comments on commit 98838e4

Please sign in to comment.