Skip to content

Commit

Permalink
fix: add node version to docker (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVarchuk authored May 12, 2022
1 parent f3862d5 commit dfacf98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# npm i -g http-server
# http-server -p 8000 --cors

FROM node:alpine
FROM node:12-alpine

RUN apk update && apk add --no-cache git

# Install dependencies
WORKDIR /build
COPY package.json package-lock.json /build/
RUN npm ci --no-optional --ignore-scripts --force
RUN npm ci --no-optional --ignore-scripts

# copy only required for the build files
COPY src /build/src
Expand Down

0 comments on commit dfacf98

Please sign in to comment.