Skip to content

Commit

Permalink
add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pddemchuk authored Nov 10, 2024
1 parent 6dad3d9 commit e129456
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:20.3.0-alpine3.17

WORKDIR /app

COPY package.json ./

RUN npm cache clean --force

RUN npm install

Check failure on line 9 in packages/frontend/Dockerfile

View workflow job for this annotation

GitHub Actions / Проверка наличия тега 0.8 и работоспособности docker-compose

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

COPY . .

RUN npm run build

EXPOSE 3000

CMD [ "npm", "run", "preview" ]

0 comments on commit e129456

Please sign in to comment.