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 f377c3d commit b891909Copy full SHA for b891909
.dockerignore
@@ -0,0 +1,2 @@
1
+node_modules
2
+npm-debug.log
Dockerfile
@@ -0,0 +1,13 @@
+FROM node:17
+
3
+WORKDIR /app
4
+# Install app dependencies
5
+# A wildcard is used to ensure both package.json AND package-lock.json are copied
6
+# where available (npm@5+)
7
+COPY package*.json ./
8
+RUN npm install
9
+#Bundle app source
10
+COPY . .
11
12
+EXPOSE 3000
13
+CMD [ "node", "app.js", "--production"]
0 commit comments