Docker maintenance

This commit is contained in:
2026-04-07 20:03:11 +09:30
parent d212ebe688
commit 04e3293b30
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -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
+4
View File
@@ -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`
+2
View File
@@ -57,6 +57,8 @@ services:
interval: 10s
timeout: 5s
retries: 5
ports:
- "6379:6379"
nginx:
image: nginx:1.27-alpine