mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add mount point for static files
This commit is contained in:
parent
c11d017370
commit
c3e54420c9
2 changed files with 10 additions and 1 deletions
|
|
@ -1,7 +1,16 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
web:
|
||||
volumes:
|
||||
- web-static:/app/wwwroot
|
||||
|
||||
networks:
|
||||
# https://github.com/collinbarrett/wp-host-on-containers/blob/master/docker-compose.nginx.yml
|
||||
reverse-proxy:
|
||||
external:
|
||||
name: wp-host_reverse-proxy
|
||||
|
||||
volumes:
|
||||
web-static:
|
||||
|
||||
|
|
@ -28,4 +28,4 @@ RUN dotnet publish -c Release -o out --no-restore
|
|||
# run
|
||||
FROM runtime as final
|
||||
COPY --from=build /app/src/FilterLists.Web/out ./
|
||||
|
||||
VOLUME /app/wwwroot
|
||||
|
|
|
|||
Loading…
Reference in a new issue