Skip to content

Commit c672532

Browse files
committed
feat(docker): switch node base image, remove gcompat, cleanup deps
1 parent f8038a9 commit c672532

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# syntax = docker/dockerfile:1.2
22

3-
FROM node:21.6.1-alpine AS runtime
3+
FROM node:bookworm AS runtime
44
WORKDIR /app
55

66
ARG TURSO_DB_URL
77
ARG TURSO_DB_AUTH_TOKEN
88

99
COPY . .
1010

11-
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
12-
RUN apk --no-cache add gcompat
1311
RUN --mount=type=secret,id=env,dst=/etc/secrets/.env \
1412
ASTRO_STUDIO_APP_TOKEN=$(grep ASTRO_STUDIO_APP_TOKEN /etc/secrets/.env | cut -d '=' -f 2) \
1513
export RENDER_TOKEN && export ASTRO_STUDIO_APP_TOKEN \

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"@fontsource/comic-mono": "^5.0.7",
3737
"@fontsource/source-sans-pro": "^5.0.8",
3838
"@libsql/client": "^0.4.3",
39-
"@libsql/linux-x64-musl": "0.4.0-pre.4",
4039
"@nanostores/react": "^0.7.2",
4140
"@octokit/graphql": "^8.0.1",
4241
"@octokit/plugin-rest-endpoint-methods": "^13.2.1",

pnpm-lock.yaml

-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)