Skip to content

Commit

Permalink
Merge pull request #119 from nosovk/fix-dockerfile
Browse files Browse the repository at this point in the history
fix Dockerfile
  • Loading branch information
adwpc authored Dec 4, 2021
2 parents 0bf4c7a + f55a982 commit 355e704
Show file tree
Hide file tree
Showing 5 changed files with 7,623 additions and 12,783 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
dist
.github
19 changes: 4 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
FROM node:15-alpine

RUN alias python=python3
RUN apk add python3
RUN apk add python2
RUN apk add make
RUN apk add gcc
RUN apk add g++
RUN apk add git
FROM node:16-alpine

WORKDIR /app

COPY package.json ./
RUN npm install
COPY package.json package-lock.json ./
RUN npm ci

COPY public/ public/
COPY src/ src/
COPY styles/ styles/
COPY webpack.config.js .babelrc ./
COPY . .

RUN npm run build

Expand Down
Loading

0 comments on commit 355e704

Please sign in to comment.