Skip to content

Commit

Permalink
ci: node slim
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-gabala committed Mar 31, 2024
1 parent 10d576f commit b72fb48
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# build env
# FROM node:13.12.0-alpine as build
FROM node:18.13.0 as build
FROM node:18.20.0-slim as build
WORKDIR /app
COPY package*.json ./
# RUN npm install
RUN npm install --only=production && npm cache clean --force && npm install -g typescript
RUN npm install
COPY . ./
RUN npm run build
CMD cp -r build result_build
Expand Down

0 comments on commit b72fb48

Please sign in to comment.