Compare commits
1 commit
ae3f6ad0ad
...
68717abce2
Author | SHA1 | Date | |
---|---|---|---|
68717abce2 |
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:4dd2f7e405b1a10fda628f22cd466be1e3be2bcfc46db653ab620e02eeed5794
|
||||
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:2cdd9c93006af1b433c214016d72a3c60d7aa2c75691cb44dfd5250aa379986b 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:b6d0b84572d9e4c92af070f1047a08daab7a54f9cd33ef5144a7cb6deaaca52e 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.4.5",
|
||||
"@rsbuild/plugin-react": "1.3.4",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"typescript": "^5.7.2"
|
||||
"typescript": "5.8.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue