aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..5fa41f6
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM node:24-slim AS base
+
+WORKDIR /app
+
+COPY package*.json ./
+RUN npm ci --quiet
+
+COPY . .
+RUN npm run build
+
+# Create data directory
+RUN mkdir -p /app/data
+
+EXPOSE 9000
+
+ENTRYPOINT ["node", "dist/index.js"]
+CMD ["--port", "9000", "--host", "0.0.0.0", "--data-dir", "/app/data"]