diff --git a/Dockerfile b/Dockerfile index c9fe81e..1066bb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,6 @@ ENV NODE_ENV=production RUN bun panda codegen RUN bun run build -FROM oven/bun:1-alpine AS release -COPY --from=prerelease /usr/src/app/dist/ . - -USER bun -EXPOSE 3000/tcp -ENTRYPOINT [ "bun", "run", "index.html" ] +FROM httpd:2.4 AS runtime +COPY --from=prerelease /usr/src/app/dist/ /usr/local/apache2/htdocs/ +EXPOSE 80 diff --git a/bun.lock b/bun.lock index 96bc8ba..58efbcb 100644 --- a/bun.lock +++ b/bun.lock @@ -4,27 +4,27 @@ "": { "name": "aram-constitution", "devDependencies": { - "@astrojs/check": "^0.9.4", - "@astrojs/solid-js": "^5.1.1", - "@biomejs/biome": "^2.2.5", - "@commitlint/cli": "^20.1.0", - "@commitlint/config-conventional": "^20.0.0", - "@pandacss/astro": "^0.25.0", - "@pandacss/dev": "^1.4.1", - "astro": "^5.14.4", - "eslint": "^9.37.0", - "eslint-config-prettier": "^10.1.8", - "eslint-define-config": "^2.1.0", - "eslint-plugin-astro": "^1.3.1", - "eslint-plugin-prettier": "^5.5.4", - "eslint-plugin-solid": "^0.14.5", - "eslint-plugin-sonarjs": "^3.0.5", - "eslint-plugin-unicorn": "^61.0.2", - "prettier": "^3.6.2", - "prettier-plugin-astro": "^0.14.1", - "solid-js": "^1.9.9", - "typescript": "^5.9.3", - "typescript-eslint": "^8.46.0", + "@astrojs/check": "latest", + "@astrojs/solid-js": "latest", + "@biomejs/biome": "latest", + "@commitlint/cli": "latest", + "@commitlint/config-conventional": "latest", + "@pandacss/astro": "latest", + "@pandacss/dev": "latest", + "astro": "latest", + "eslint": "latest", + "eslint-config-prettier": "latest", + "eslint-define-config": "latest", + "eslint-plugin-astro": "latest", + "eslint-plugin-prettier": "latest", + "eslint-plugin-solid": "latest", + "eslint-plugin-sonarjs": "latest", + "eslint-plugin-unicorn": "latest", + "prettier": "latest", + "prettier-plugin-astro": "latest", + "solid-js": "latest", + "typescript": "latest", + "typescript-eslint": "latest", }, }, }, diff --git a/src/layouts/index-layout.astro b/src/layouts/index-layout.astro index faf2e2a..be63733 100644 --- a/src/layouts/index-layout.astro +++ b/src/layouts/index-layout.astro @@ -1,6 +1,4 @@ --- -import { ClientRouter } from "astro:transitions"; - interface Props { title: string; } @@ -48,7 +46,6 @@ const { title } = Astro.props; /> {title} -
diff --git a/tsconfig.json b/tsconfig.json index d30abc2..37294dc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,5 @@ "~/*": ["src/*"] } }, - "include": ["src"] + "include": ["src", "styled-system"] }