mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
Saving progress
This commit is contained in:
26
docker-compose.dev.yml
Normal file
26
docker-compose.dev.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
SKIP_APP_BUILD: "1"
|
||||
command: sh -lc "\
|
||||
corepack enable && corepack prepare pnpm@9.12.3 --activate && \
|
||||
pnpm install && \
|
||||
pnpm prisma generate && \
|
||||
pnpm prisma migrate deploy || true && \
|
||||
pnpm dev --host 0.0.0.0 --port 5173"
|
||||
volumes:
|
||||
- ./:/app
|
||||
- web_node_modules:/app/node_modules
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "5173:5173"
|
||||
|
||||
volumes:
|
||||
web_node_modules:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user