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.
1 parent 5a5c719 commit b12f395Copy full SHA for b12f395
Dockerfile
@@ -0,0 +1,13 @@
1
+# build stage
2
+FROM node:lts-alpine AS build-stage
3
+WORKDIR /app
4
+COPY package*.json ./
5
+RUN npm install
6
+COPY . .
7
+RUN npm run build
8
+
9
+# production stage
10
+FROM nginx:stable-alpine AS production-stage
11
+COPY --from=build-stage /app/dist /usr/share/nginx/html
12
+EXPOSE 80
13
+CMD ["nginx", "-g", "daemon off;"]
0 commit comments