Skip to content

Commit

Permalink
fixed docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
m-GDEV committed Nov 14, 2024
1 parent 9d1435e commit d6fcd52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ services:
wardrobe-manager-api:
image: tmclncy/wardrobemanager-api:latest
container_name: wardrobe-manager-api

build:
context: .
dockerfile: ./docker/WardrobeManager.Api/Dockerfile
environment:
- FrontendUrl=http://localhost:9001
ports:
Expand All @@ -16,10 +12,8 @@ services:
wardrobe-manager:

wardrobe-manager-presentation:
image: tmclncy/wardrobemanager-presentation:latest
container_name: wardrobe-manager-presentation
build:
context: .
dockerfile: ./docker/WardrobeManager.Presentation/Dockerfile
environment:
- BackendUrl=http://localhost:9005
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker/WardrobeManager.Presentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY --from=publish /app/publish/wwwroot .
# Setup docker entrypoint script (used to dynamically update appsettings.Production.json based on env variable)
RUN apk add jq
COPY ["./docker/WardrobeManager.Presentation/update-appsettings.sh", "/docker-entrypoint.d/40-script.sh"]

RUN chmod +x "/docker-entrypoint.d/40-script.sh"

COPY ["./docker/WardrobeManager.Presentation/nginx.conf", "/etc/nginx/nginx.conf"]

Expand Down

0 comments on commit d6fcd52

Please sign in to comment.