attempt to fix FilterLists static file access

This commit is contained in:
Collin M. Barrett 2019-05-10 18:29:59 -05:00
parent b76933f582
commit b46f2e2ed8
3 changed files with 9 additions and 6 deletions

View file

@ -1,9 +1,9 @@
version: "3.7"
services:
web:
volumes:
- web-static:/app/wwwroot
# web:
# volumes:
# - web-static:/app/wwwroot
networks:
# https://github.com/collinbarrett/wp-host-on-containers/blob/master/docker-compose.nginx.yml
@ -11,6 +11,6 @@ networks:
external:
name: wp-host_reverse-proxy
volumes:
web-static:
#volumes:
# web-static:

View file

@ -10,6 +10,9 @@ services:
- reverse-proxy
volumes:
- ./ops/nginx/conf.d:/etc/nginx/conf.d:ro
depends_on:
- web
- api
web:
image: collinbarrett/filterlists.web:latest

View file

@ -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
#VOLUME /app/wwwroot