Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkrasik authored Oct 28, 2024
1 parent 56cf288 commit e20bf5a
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
Expand Up @@ -2,7 +2,7 @@

ARG NODE_VERSION=18.18.0

FROM node:${NODE_VERSION}-slim as base
FROM node:${NODE_VERSION}-slim AS base

ARG PORT=3000

Expand All @@ -11,7 +11,7 @@ ENV NODE_ENV=production
WORKDIR /src

# Build
FROM base as build
FROM base AS build

COPY --link package.json yarn.lock ./
RUN yarn install --production=false
Expand Down

0 comments on commit e20bf5a

Please sign in to comment.