Compare commits
1 commit
725385b31b
...
dcc0fae0b8
Author | SHA1 | Date | |
---|---|---|---|
dcc0fae0b8 |
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:d33eb93fe02683e984e6f8a93c0b3d85bb74f56ec83922bc39fb34ba23ab42bc
|
||||
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:2cd6a1d9e3d505725243c9564cca08465fc6ffb12c065a09261992e650995ee6 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:f49a1d76c60e5b234b326bb40a605238fd72004abf4f131850c0acb847198fb7 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.0",
|
||||
"@rsbuild/plugin-react": "1.3.2",
|
||||
"@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