Compare commits
1 commit
5f59825331
...
78a3c378d3
Author | SHA1 | Date | |
---|---|---|---|
78a3c378d3 |
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:44383404ebf0c36243f5969f0dddd23c204ea3bb185e7473a4141f6ccfd07b53
|
||||||
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:f9228d19163d4b2ef544cef3c143e91d4d6aa72d6b29a52e170c27af603e59df 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.10",
|
||||||
"@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