Files
Garmin-API/Dockerfile
T
2026-03-31 08:17:07 +01:00

19 lines
290 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
COPY logo.bin .
# Expose port
EXPOSE 5000
# Run app
RUN pip install gunicorn
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]