summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-12-12 14:13:25 +0000
committerJoe Carstairs <me@joeac.net>2025-12-12 14:13:25 +0000
commited6a6428a34aea00e57f7eaeda565fc72ab93390 (patch)
treea12e980693f7e48f4fd575a8598c4e160d613000 /Dockerfile
parente5cc05519a7736f9bd4554366fcd199b23d88566 (diff)
Dockerise
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..c38f78b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM node:lts AS runtime
+WORKDIR /app
+
+COPY . .
+
+RUN npm install
+RUN npm run build
+
+ENV HOST=0.0.0.0
+ENV PORT=4321
+EXPOSE 4321
+CMD ["node", "./website/dist/server/entry.mjs"]