Skip to content

Commit

Permalink
build(prod): add static file volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Oct 24, 2023
1 parent 9748954 commit 8dc5370
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ services:
args:
- BACKEND_URL=${FRONTEND_API_URL}
- SENSORS_BACKEND_URL=${FRONTEND_SENSORS_API_URL}
volumes:
- static_files:/app/static

refuapp-admin-frontend:
build:
Expand Down Expand Up @@ -45,3 +47,9 @@ volumes:
type: none
device: /home/ferran/data-sensors
o: bind
static_files:
driver: local
driver_opts:
type: none
device: /home/ferran/static
o: bind

0 comments on commit 8dc5370

Please sign in to comment.