Compare commits
1 commit
f59221f53d
...
fb549f2cae
Author | SHA1 | Date | |
---|---|---|---|
fb549f2cae |
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:c0872aae4791ff427e6eda52769afa04f17b5cf756f8267e0d52774c99d5c9de
|
||||
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: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:0b928991f927105c184aa1b97b040e713501f0870dde662d2ff311325972f57b 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.16",
|
||||
"@rsbuild/plugin-react": "1.3.5",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"typescript": "^5.7.2"
|
||||
"typescript": "5.9.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue