mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
build(frontend): replace create-react-app with vite (#272)
This commit is contained in:
parent
8721fd101d
commit
eb8fe11be6
11 changed files with 4700 additions and 22943 deletions
|
|
@ -54,14 +54,16 @@ services:
|
|||
build:
|
||||
context: .
|
||||
target: build-frontend
|
||||
command: ["npm", "run", "start"]
|
||||
command: ["npm", "run", "start", "--", "--host"]
|
||||
volumes:
|
||||
- ./frontend/vite.config.js:/app/frontend/vite.config.js:ro
|
||||
- ./frontend/postcss.config.js:/app/frontend/postcss.config.js:ro
|
||||
- ./frontend/tailwind.config.js:/app/frontend/tailwind.config.js:ro
|
||||
- ./frontend/index.html:/app/frontend/index.html:ro
|
||||
- ./frontend/src:/app/frontend/src:ro
|
||||
- ./frontend/public:/app/frontend/public:ro
|
||||
ports:
|
||||
- 3000
|
||||
- 5173
|
||||
labels:
|
||||
- "traefik.enable=true" # Enable reverse-proxy for this service
|
||||
- "traefik.http.routers.frontend.rule=PathPrefix(`/`)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue