summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-14 14:30:18 +0300
committereug-vs <eug-vs@keemail.me>2020-11-14 14:30:18 +0300
commit87306ea2e4ffad7b8c588da0423ecf199575ac9c (patch)
tree06c683005b15818769d4b657eb937c8a73c7f529 /Dockerfile
parentb504029067d33aba8b71f696497d4ea03ea19014 (diff)
downloadbsu-fantom-87306ea2e4ffad7b8c588da0423ecf199575ac9c.tar.gz
build: dockerize application
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7ec96ac
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+# Dockerfile to build bsu-fantom image
+
+FROM node:12
+
+WORKDIR /app
+
+COPY package*.json ./
+
+RUN npm install
+
+COPY . .
+
+EXPOSE 3030
+
+CMD ["npm", "start"]
+