diff --git a/.woodpecker/.workflow.yml b/.woodpecker/.workflow.yml index f979367..735f04c 100644 --- a/.woodpecker/.workflow.yml +++ b/.woodpecker/.workflow.yml @@ -7,7 +7,7 @@ steps: when: - event: [tag, manual, push, pull_request] branch: main - image: docker + image: docker@sha256:c0872aae4791ff427e6eda52769afa04f17b5cf756f8267e0d52774c99d5c9de environment: DOCKER_USERNAME: from_secret: docker_public_username diff --git a/Dockerfile b/Dockerfile index e86a478..61a5784 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # Build stage of the application -FROM oven/bun AS build +FROM oven/bun@sha256:5a2011bf09364b9af658ac1e66f60d08092f4291aeefbff448d58b027734fdd0 AS build WORKDIR /app COPY . . RUN bun i && bun run build # Production stage to run the application -FROM cgr.dev/chainguard/nginx AS production +FROM cgr.dev/chainguard/nginx@sha256:215d6f4163615c77fcd282c7254c3a3e0dcc10f521c264fb1c5195255d50379b AS production COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 8080 ENTRYPOINT ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/package.json b/package.json index 52745e2..bf87b47 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@rsbuild/core": "^1.1.8", - "@rsbuild/plugin-react": "^1.0.7", + "@rsbuild/core": "1.5.1", + "@rsbuild/plugin-react": "1.4.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "typescript": "^5.7.2" + "typescript": "5.9.2" } }