Skip to content

Commit

Permalink
some rework
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 committed Jun 6, 2024
1 parent 606f49f commit 03f1f4f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ ENV NODE_ENV=production
# RUN bun test
RUN bun run build

# copy production dependencies and source code into final image
# copy dependencies and source code into final image
FROM base AS release
COPY --from=install /temp/dev/node_modules node_modules
COPY --from=install /temp/prod/node_modules node_modules
COPY --from=prerelease /usr/src/app/build .

Expand Down
Binary file modified bun.lockb
Binary file not shown.
13 changes: 6 additions & 7 deletions infra/docker-prod/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ services:
ports:
- "80:80"
- "443:443"
#- "8080:8080"
volumes:
- "./letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro"

website:
image: ghcr.io/hmbanan666/chat-game/website:main
app:
image: ghcr.io/hmbanan666/chat-game/app:main
restart: on-failure
pull_policy: always
container_name: website-container
container_name: app-container
labels:
- "traefik.enable=true"
- "traefik.http.routers.website.rule=Host(`chatgame.space`)"
- "traefik.http.routers.website.entrypoints=websecure"
- "traefik.http.routers.website.tls.certresolver=myresolver"
- "traefik.http.routers.app.rule=Host(`chatgame.space`)"
- "traefik.http.routers.app.entrypoints=websecure"
- "traefik.http.routers.app.tls.certresolver=myresolver"
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
"homepage": "https://github.com/hmbanan666/royal-madness-twitch-game#readme",
"dependencies": {
"@paralleldrive/cuid2": "2.2.2",
"@prisma/client": "5.14.0",
"@prisma/client": "5.15.0",
"@radix-ui/colors": "^3.0.0",
"@tabler/icons-react": "3.5.0",
"@twurple/auth": "7.1.0",
"@twurple/easy-bot": "7.1.0",
"@twurple/pubsub": "7.1.0",
"hono": "4.4.2",
"hono": "4.4.3",
"howler": "2.2.4",
"pixi.js": "8.1.5",
"pixi.js": "8.1.6",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@biomejs/biome": "1.8.0",
"@sveltejs/kit": "2.5.10",
"@sveltejs/vite-plugin-svelte": "3.1.1",
"@tailwindcss/vite": "4.0.0-alpha.15",
Expand All @@ -54,8 +54,8 @@
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.3.0",
"dependency-cruiser": "16.3.2",
"prisma": "5.14.0",
"svelte": "4.2.17",
"prisma": "5.15.0",
"svelte": "4.2.18",
"svelte-adapter-bun": "0.5.2",
"svelte-check": "3.8.0",
"tailwindcss": "4.0.0-alpha.15",
Expand Down

0 comments on commit 03f1f4f

Please sign in to comment.