Compare commits
1 commit
c46dacc0f5
...
14f8433c99
Author | SHA1 | Date | |
---|---|---|---|
14f8433c99 |
2 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Build stage of the application
|
# Build stage of the application
|
||||||
FROM oven/bun@sha256:2cdd9c93006af1b433c214016d72a3c60d7aa2c75691cb44dfd5250aa379986b 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@sha256:e75ee3aec28a5f39053da45e703319627875063734acdb2b145a658647cae1c1 AS production
|
FROM cgr.dev/chainguard/nginx@sha256:d566e593404d36448929ce07f1ff7c2cf71fd874669db877573f260937608859 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,7 +12,7 @@
|
||||||
"react-dom": "^19.0.0"
|
"react-dom": "^19.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rsbuild/core": "1.4.7",
|
"@rsbuild/core": "1.4.8",
|
||||||
"@rsbuild/plugin-react": "1.3.4",
|
"@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",
|
||||||
|
|
Loading…
Reference in a new issue