This commit is contained in:
parent
e7c60fa8d1
commit
d12dc32858
3 changed files with 6 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ steps:
|
|||
when:
|
||||
- event: [tag, manual, push, pull_request]
|
||||
branch: main
|
||||
image: docker
|
||||
image: docker@sha256:ecac43e78380d9b9d3bd24f0ab42b370f6391a1a06a66065c10a00b9d6d57a3e
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: docker_public_username
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
# Build stage of the application
|
||||
FROM oven/bun AS build
|
||||
FROM oven/bun@sha256:30b6593d5646d1d695ed0c68c76ed370de538f5f49c34ed565386fd455bf6194 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:50b986b188c26457d060c9e16665b51d2e5e252019ba4e921cb990c71cd24802 AS production
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
||||
|
|
@ -12,10 +12,10 @@
|
|||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rsbuild/core": "^1.1.8",
|
||||
"@rsbuild/plugin-react": "^1.0.7",
|
||||
"@rsbuild/core": "1.6.6",
|
||||
"@rsbuild/plugin-react": "1.4.2",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"typescript": "^5.7.2"
|
||||
"typescript": "5.9.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue