Skip to content

Commit 79b74c3

Browse files
authored
Merge pull request #312 from Peefy/feat-dockerfile
feat: add dockerfile
2 parents bad976b + d13f885 commit 79b74c3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM node:latest
2+
WORKDIR /app
3+
COPY package*.json ./
4+
# RUN npm install
5+
COPY . .
6+
# RUN npm run build
7+
FROM nginx:alpine
8+
COPY --from=0 /app/build /usr/share/nginx/html
9+
EXPOSE 80
10+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)