Skip to content

Commit

Permalink
Update frontend Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
okeneo committed Mar 17, 2024
1 parent 782253d commit 7f49625
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ FROM node:21-alpine as builder

WORKDIR /frontend

COPY package.json ./
COPY package-lock.json ./
COPY package*.json ./

RUN npm ci
RUN npm run install

COPY . /frontend

CMD ["npm", "run", "build"]
RUN npm run build

0 comments on commit 7f49625

Please sign in to comment.