Compare commits
1 commit
fb8a508277
...
d8713d4044
Author | SHA1 | Date | |
---|---|---|---|
d8713d4044 |
3 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
- event: [tag, manual, push, pull_request]
|
- event: [tag, manual, push, pull_request]
|
||||||
branch: main
|
branch: main
|
||||||
image: docker
|
image: docker@sha256:c1a6c318d7dccd659d557df84261817335844b69ca92e919ebf3e6183266ce4b
|
||||||
environment:
|
environment:
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_public_username
|
from_secret: docker_public_username
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Build stage of the application
|
# Build stage of the application
|
||||||
FROM oven/bun AS build
|
FROM oven/bun@sha256:31f25ad4c661322a3dc9d9d98fbf34989502b1ea588a2ca629da98c8e5a2d116 AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN bun i && bun run build
|
RUN bun i && bun run build
|
||||||
|
|
||||||
# Production stage to run the application
|
# Production stage to run the application
|
||||||
FROM cgr.dev/chainguard/nginx AS production
|
FROM cgr.dev/chainguard/nginx@sha256:811bceec05f6ed9a8a14773c149325f75b8f2d44ded12fffbcbd7b27588aeaf9 AS production
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
|
@ -12,10 +12,10 @@
|
||||||
"react-dom": "^19.0.0"
|
"react-dom": "^19.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rsbuild/core": "^1.1.8",
|
"@rsbuild/core": "1.4.9",
|
||||||
"@rsbuild/plugin-react": "^1.0.7",
|
"@rsbuild/plugin-react": "1.3.4",
|
||||||
"@types/react": "^19.0.0",
|
"@types/react": "^19.0.0",
|
||||||
"@types/react-dom": "^19.0.0",
|
"@types/react-dom": "^19.0.0",
|
||||||
"typescript": "^5.7.2"
|
"typescript": "5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue