diff --git a/Dockerfile b/Dockerfile index e795865..ec64cf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ FROM python:3.11-slim RUN apt-get update && apt-get install -y --no-install-recommends \ libpq5 \ curl \ + openssh-client \ && rm -rf /var/lib/apt/lists/* # Create non-root user diff --git a/README.md b/README.md index 604bfc3..78f8d87 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,12 @@ python -m scripts.seed_data 7. **Run the application**: ```bash flask run +# Or in debug mode +FLASK_ENV=development flask run --debug --port 5000 + # Or using the WSGI file python wsgi.py + ``` The API will be available at `http://localhost:5000` diff --git a/docker-compose.yml b/docker-compose.yml index 5a0e2fb..acff21d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,9 @@ services: interval: 10s timeout: 5s retries: 5 - + ports: + - "6379:6379" + nginx: image: nginx:1.27-alpine volumes: