diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-12 14:13:25 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-12 14:13:25 +0000 |
| commit | ed6a6428a34aea00e57f7eaeda565fc72ab93390 (patch) | |
| tree | a12e980693f7e48f4fd575a8598c4e160d613000 | |
| parent | e5cc05519a7736f9bd4554366fcd199b23d88566 (diff) | |
Dockerise
| -rw-r--r-- | .dockerignore | 5 | ||||
| -rw-r--r-- | Dockerfile | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..baa9ab2 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +.helix/ +.vscode/ +.zed/ 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"] |
