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"]