Skip to content

Commit

Permalink
Merge pull request #243 from alondhe/docker
Browse files Browse the repository at this point in the history
Added Dockerfile
  • Loading branch information
fdefalco authored Jun 2, 2023
2 parents 7faadd8 + 5208d97 commit 7b6b192
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
Dockerfile
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM docker.io/library/node:18.14.1-alpine@sha256:045b1a1c90bdfd8fcaad0769922aa16c401e31867d8bf5833365b0874884bbae as builder
RUN apk add --no-cache python3 py3-pip make g++

WORKDIR /code
COPY ./ /code/

RUN npm install
RUN npm run build

FROM nginx as webserver
COPY --from=builder /code/dist /usr/share/nginx/html/ares

0 comments on commit 7b6b192

Please sign in to comment.