summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..3c2feaf
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM node:18-alpine
+
+COPY package*.json ./
+USER node
+RUN npm install
+
+COPY --chown=node:node . .
+RUN npm run build
+
+EXPOSE 3000
+CMD [ "node", "build/index.js" ]