aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-27 15:42:10 +0300
committereug-vs <eug-vs@keemail.me>2020-10-27 15:42:10 +0300
commitce673531b12d082350a4996f4ed54a84ac007e3c (patch)
treed5ffb0deafedef8dd67828864f9a0e60575f2e35 /Dockerfile
parentafd2f44d3fd814953ff850ac3c5aec1acd9d8da1 (diff)
downloadwhich-api-ce673531b12d082350a4996f4ed54a84ac007e3c.tar.gz
build: add docker configs
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bcb00cc
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+FROM node:12
+
+WORKDIR /app
+
+COPY package*.json ./
+
+RUN npm install
+
+COPY . .
+
+EXPOSE 3030
+
+CMD ["npm", "start"]