Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmue committed May 3, 2022
1 parent 72e72b2 commit 2c4bddc
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 node:14

WORKDIR /opt/work

COPY . .

RUN npm install && npm run build

FROM nginx:1.20

COPY --from=0 /opt/work/dist /usr/share/nginx/html

0 comments on commit 2c4bddc

Please sign in to comment.