summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-04-28 09:31:51 +0000
committerLibravatar tobi <tsmethurst@noreply.codeberg.org>2025-04-28 09:31:51 +0000
commit457ca3c9d382aefd578e46901d5ed047bef3652f (patch)
tree62366b94f2c3890cad41f2d1f0c470759970de9b /Dockerfile
parent[chore] Override woodpecker plugin for snapshot + release to get tags (#4069) (diff)
downloadgotosocial-457ca3c9d382aefd578e46901d5ed047bef3652f.tar.xz
[chore] Update build to use new woodpecker dind container, bump version numbers (#4073)
As described! Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4073 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 184be41cd..56cea6e31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@
# Dockerfile reference: https://docs.docker.com/engine/reference/builder/
# stage 1: generate the web/assets/dist bundles
-FROM --platform=${BUILDPLATFORM} node:18-alpine AS bundler
+FROM --platform=${BUILDPLATFORM} node:lts-alpine AS bundler
COPY web web
RUN yarn --cwd ./web/source install && \
@@ -11,7 +11,7 @@ RUN yarn --cwd ./web/source install && \
rm -rf ./web/source
# stage 2: build the executor container
-FROM --platform=${TARGETPLATFORM} alpine:3.20 as executor
+FROM --platform=${TARGETPLATFORM} alpine:3.21 AS executor
# switch to non-root user:group for GtS
USER 1000:1000