Skip to content

Commit

Permalink
added expose 80
Browse files Browse the repository at this point in the history
  • Loading branch information
bn committed Nov 22, 2019
1 parent 3a3e2e0 commit 86b9b5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:alpine as builder
WORKDIR '/app'
COPY package.json .
COPY .npmrc .
#COPY .npmrc .
RUN npm install
COPY . .
RUN npm run build

FROM nginx
EXPOSE 80
COPY --from=builder /app/build /usr/share/nginx/html

0 comments on commit 86b9b5b

Please sign in to comment.