Compare commits
1 commit
0e619b0e7e
...
1107e59efd
Author | SHA1 | Date | |
---|---|---|---|
1107e59efd |
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:5fb3f5b69bdab6690d93398a316fdfe906ae4d30667e07994ea5be66483c7b3b
|
||||
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:ffd754d1d771513d7b21fb013b60bfc1e22e862d310e9727726d25d1827b6a06 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:3f441909e00e45dadfb8b27db23b3045a3a70007b7f7062e86b48b4ddeda8f15 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.3.22",
|
||||
"@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