Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Nov 19, 2021
1 parent 47fa09a commit f752623
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM node:lts-alpine as builder
FROM node:12-alpine as builder
WORKDIR '/app'
COPY ./package.json ./
RUN npm install
COPY . .
RUN node --version && npm --version

COPY . .
RUN npm run build

FROM nginx:stable-alpine
Expand Down

0 comments on commit f752623

Please sign in to comment.