Skip to content

Commit

Permalink
Merge pull request #312 from Peefy/feat-dockerfile
Browse files Browse the repository at this point in the history
feat: add dockerfile
  • Loading branch information
Peefy authored Mar 18, 2024
2 parents bad976b + d13f885 commit 79b74c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:latest
WORKDIR /app
COPY package*.json ./
# RUN npm install
COPY . .
# RUN npm run build
FROM nginx:alpine
COPY --from=0 /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 79b74c3

Please sign in to comment.