We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bad976b + d13f885 commit 79b74c3Copy full SHA for 79b74c3
Dockerfile
@@ -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