Compare commits
1 commit
7b2ee07e86
...
f77179285a
Author | SHA1 | Date | |
---|---|---|---|
f77179285a |
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:831644212c5bdd0b3362b5855c87b980ea39a83c9e9adcef2ce03eced99a737a
|
||||||
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:5a2011bf09364b9af658ac1e66f60d08092f4291aeefbff448d58b027734fdd0 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:a90da691b6053abc4d11e027c6e6f094ffc8256c3cb289ef696bae7fff984ecb 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.5.6",
|
||||||
"@rsbuild/plugin-react": "^1.0.7",
|
"@rsbuild/plugin-react": "1.4.0",
|
||||||
"@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.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue