Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
waaaaargh committed Apr 1, 2024
1 parent 1595fa4 commit 2bc4191
Showing 1 changed file with 11 additions and 0 deletions.
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:20 AS builder

WORKDIR /app
COPY ./ ./
RUN ls -lah
RUN npm install --include dev
RUN npm run build


FROM docker.io/nginxinc/nginx-unprivileged:mainline
COPY --from=builder /app/dist/* /usr/share/nginx/html/

0 comments on commit 2bc4191

Please sign in to comment.