aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..035e708
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM node:13-alpine
+
+WORKDIR /app
+
+COPY package-lock.json /app/
+COPY package.json /app/
+RUN npm install
+COPY . /app
+
+RUN npm run build
+
+ENTRYPOINT [ "node", "bin/forum" ])