name: blog-production services: blog: build: target: production-stage context: ./src/Blog/ dockerfile: Dockerfile ports: - 8080 restart: always environment: - FilePostServiceOptions__PostsDirectory=wwwroot/posts