We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060f16a commit e0e5a9cCopy full SHA for e0e5a9c
.dockerignore
@@ -0,0 +1,2 @@
1
+node_modules
2
+npm-debug.log
Dockerfile
@@ -0,0 +1,18 @@
+FROM node:boron
+
3
+# Create app directory
4
+RUN mkdir -p /usr/src/app
5
+WORKDIR /usr/src/app
6
7
+# Install app dependencies
8
+COPY package.json /usr/src/app/
9
+RUN npm install
10
11
+# Bundle app source
12
+COPY . /usr/src/app
13
14
+# Compile :)
15
+RUN npm run compile
16
17
+EXPOSE 8000
18
+CMD [ "npm", "start" ]
0 commit comments