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 bcf7372 commit bac45e9Copy full SHA for bac45e9
server/.dockerignore
@@ -0,0 +1,2 @@
1
+node_modules/
2
+db/
server/Dockerfile
@@ -0,0 +1,14 @@
+FROM node
+
3
+# Create app folder
4
+RUN mkdir -p /app
5
+WORKDIR /app
6
7
+# Cache npm dependencies
8
+COPY package.json /app/
9
+RUN npm install
10
11
+# Copy application files
12
+COPY . /app
13
14
+CMD ["npm", "start"]
0 commit comments