summaryrefslogtreecommitdiff
path: root/app/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'app/Dockerfile')
-rw-r--r--app/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Dockerfile b/app/Dockerfile
new file mode 100644
index 0000000..b404e74
--- /dev/null
+++ b/app/Dockerfile
@@ -0,0 +1,8 @@
+# syntax=docker/dockerfile:1
+FROM node:12-alpine
+RUN apk add --no-cache python2 g++ make
+WORKDIR /app
+COPY . .
+RUN yarn install --production
+CMD ["node", "src/index.js"]
+EXPOSE 3000 \ No newline at end of file