Skip to content

Commit

Permalink
hotfix: dockerfile update(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Aug 17, 2023
1 parent a1187d1 commit 366873f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Build stage
FROM node:18-alpine AS build
FROM node:18-alpine

WORKDIR /app

Expand All @@ -11,14 +10,4 @@ COPY . .

RUN yarn build

# Final stage
FROM node:18-alpine

WORKDIR /app

COPY --from=build /app/package.json /app/yarn.lock ./
COPY --from=build /app/dist ./dist

RUN yarn install --production

CMD ["yarn", "start", "--port", "3000"]

0 comments on commit 366873f

Please sign in to comment.