summaryrefslogtreecommitdiff
path: root/website.Dockerfile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-18 19:21:59 +0100
committerJoe Carstairs <me@joeac.net>2026-06-18 19:21:59 +0100
commitca8e6824eaa711105f4092365792720c9dde026b (patch)
tree2b6493941352d11b799ee63d3f1311c13de649b8 /website.Dockerfile
parenta0f25057283a397f006127b6f582d190d2c4294e (diff)
remove Astro website
Diffstat (limited to 'website.Dockerfile')
-rw-r--r--website.Dockerfile30
1 files changed, 0 insertions, 30 deletions
diff --git a/website.Dockerfile b/website.Dockerfile
deleted file mode 100644
index 7ace22f..0000000
--- a/website.Dockerfile
+++ /dev/null
@@ -1,30 +0,0 @@
-FROM node:lts-alpine3.22
-WORKDIR /app
-
-RUN apk add --no-cache git
-COPY website/package.json website/package-lock.json ./
-RUN npm install && apk del git
-
-COPY website/astro.config.mjs website/redirects.mjs ./
-COPY website/db ./db/
-ARG DB_URL=file:/app/db.sqlite
-ENV ASTRO_DB_REMOTE_URL=$DB_URL
-RUN mkdir -p "$(dirname "$(echo "$ASTRO_DB_REMOTE_URL" | cut -d':' -f 2)")"
-RUN npm run astro db push
-
-COPY website .
-
-RUN mkdir -p /common
-COPY common /common
-
-ENV HOST=0.0.0.0
-ENV PORT=4321
-EXPOSE 4321
-
-ARG LOCAL_SMTP_HOST
-ARG LOCAL_SMTP_PASSWORD
-ARG LOCAL_SMTP_PORT
-
-RUN npm run build && rm -rf public src
-
-CMD ["node", "./dist/server/entry.mjs"]