diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-11-07 12:00:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 12:00:44 +0200 |
commit | e01d2e695f66127673b53fb25267b9f6096c59a6 (patch) | |
tree | 726251ea347c13d3d329cce8fc6fcb07744c977e /Dockerfile | |
parent | afd2f44d3fd814953ff850ac3c5aec1acd9d8da1 (diff) | |
parent | aaf784ab9fe5894c18493f116c6599faf3c92895 (diff) | |
download | which-api-e01d2e695f66127673b53fb25267b9f6096c59a6.tar.gz |
Dockerization + migration to Mongo Atlas
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..892c159 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# Dockerfile to build which-api image + +FROM node:12 + +WORKDIR /app + +COPY package*.json ./ + +RUN npm install + +COPY . . + +EXPOSE 3030 + +CMD ["npm", "start"] |