Skip to content

Commit

Permalink
Tacs 48 improve python prod images (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasanchez authored May 5, 2023
2 parents faf549a + 17787aa commit 59ebc2b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scheduler-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./rest
working-directory: ./scheduler

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion api-gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10-slim

COPY ./requirements.txt /app/requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion auth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10.8-alpine as development_build
FROM python:3.10.8-slim as development_build

ARG APP_DIR=/app

Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
image: tosanchez/atsc-meetings:scheduler-dev
environment:
- SPRING_APPLICATION_NAME=Scheduler
- SERVER_PORT=8080
- SPRINGDOC_SWAGGER_UI_PATH=/scheduler-docs
ports:
- "8080:8080"
Expand All @@ -22,7 +23,8 @@ services:
ports:
- "80:80"
environment:
- 'GATEWAY_SERVICES=[{"name": "Auth", "base_url": "http://auth:8000"}]'
- 'GATEWAY_SERVICES=[{"name": "Auth", "base_url": "http://auth:8000"},
{"name": "Scheduler", "base_url": "http://scheduler:8080", "readiness_url": "/actuator/health"}]'
web:
build:
context: web
Expand Down

0 comments on commit 59ebc2b

Please sign in to comment.