diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-14 20:36:24 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-14 20:36:24 -0800 |
| commit | 6bf57766feb8321f860baf300140563cd9539053 (patch) | |
| tree | d80ff78c2a7f4dbea79f9ee850542aee1b735ef4 /Dockerfile | |
| download | posthook-6bf57766feb8321f860baf300140563cd9539053.tar.gz posthook-6bf57766feb8321f860baf300140563cd9539053.zip | |
Init
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 17 |
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"] |
