FHIRVINE-Smart-Proxy/Dockerfile.minimal
Sudo-JHare c61d907c42
Beta 0.1
initial commit
2025-04-23 21:25:46 +10:00

25 lines
635 B
Docker

# Dockerfile.minimal - Minimal environment for testing Authlib
# Use a slim Python 3.11 image
FROM python:3.11-slim-bullseye
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Set work directory
WORKDIR /app
# Upgrade pip
RUN pip install --no-cache-dir --upgrade pip
# Install only Flask and the specific Authlib version
# Use --no-cache-dir and --force-reinstall for certainty
RUN pip install --no-cache-dir Flask==2.3.3 Authlib==1.5.2
# Copy ONLY the minimal test script
COPY minimal_test.py .
# Command to run the test script directly
CMD ["python", "minimal_test.py"]