summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJustZvan <justzvan@justzvan.xyz>2026-02-06 12:16:40 +0100
committerJustZvan <justzvan@justzvan.xyz>2026-02-06 12:16:40 +0100
commite904e9634548e47d611bdcbb88d7b180b927fd5f (patch)
tree21aa5be08fc5b22585508c0263ee5ea4effcc593 /Dockerfile
feat: initial commit!
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7a973c8
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM node:krypton-alpine
+
+COPY . /data
+WORKDIR /data
+
+RUN ["npm", "i", "-g", "pnpm"]
+
+RUN ["pnpm", "install"]
+
+RUN ["pnpm", "build"]
+
+ENV NODE_ENV=production
+
+CMD ["node", "dist/src/index.js"]