Skip to content

Commit ff7f9a8

Browse files
committed
Update dockerfile
1 parent bd381ae commit ff7f9a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/peerprep/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:20-alpine AS development-dependencies-env
2-
COPY . /app
32
WORKDIR /app
3+
COPY package*.json ./
44
RUN npm ci
55

66
FROM node:20-alpine AS production-dependencies-env
@@ -19,4 +19,4 @@ COPY ./package.json package-lock.json /app/
1919
COPY --from=production-dependencies-env /app/node_modules /app/node_modules
2020
COPY --from=build-env /app/build /app/build
2121
WORKDIR /app
22-
CMD ["npm", "run", "start"]
22+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)