From 366873f739fe37b867871a6528df5b958f6f7c36 Mon Sep 17 00:00:00 2001 From: TaeyeonRoyce Date: Thu, 17 Aug 2023 22:07:45 +0900 Subject: [PATCH] hotfix: dockerfile update(2) --- frontend/Dockerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index aa07c8b9f..597570909 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,5 +1,4 @@ -# Build stage -FROM node:18-alpine AS build +FROM node:18-alpine WORKDIR /app @@ -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"]