diff --git a/Dockerfile b/Dockerfile index ed71b94f..9da7353f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ # Uses .env from build context for config (logo, branding, etc.) # Optional: docker build --build-arg VITE_BUILD_HASH=$(git rev-parse --short HEAD) -t flotilla . -FROM node:20-bookworm AS builder +FROM node:22-bookworm AS builder RUN apt-get update && apt-get install -y --no-install-recommends curl -RUN npm install -g pnpm@latest +RUN npm install -g pnpm@10.33.0 WORKDIR /app @@ -22,7 +22,7 @@ ENV VITE_BUILD_HASH=${VITE_BUILD_HASH} ENV NODE_OPTIONS=--max_old_space_size=16384 RUN pnpm run build -FROM node:20-alpine +FROM node:22-alpine WORKDIR /app diff --git a/README.md b/README.md index 8eacb8d9..53a2f58f 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,12 @@ pnpm run start Or, if you prefer to use a container: ```sh -podman run -d -p 3000:3000 ghcr.io/coracle-social/flotilla:latest +docker run -d -p 3000:3000 ghcr.io/coracle-social/flotilla:latest ``` Alternatively, you can copy the build files into a directory of your choice and serve it yourself: ```sh mkdir ./mount -podman run -v ./mount:/app/mount ghcr.io/coracle-social/flotilla:latest bash -c 'cp -r build/* mount' +docker run -v ./mount:/app/mount ghcr.io/coracle-social/flotilla:latest bash -c 'cp -r build/* mount' ```