Compare commits

..

No commits in common. "1907911779c55141acc45ce3100dcc999cad0b72" and "cda51e34bac03ca587ed761bcc781d68556b20db" have entirely different histories.

View File

@ -9,12 +9,12 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 PIP_DISABLE_PIP_VERSION_CHECK=1
# Install system dependencies # Install system dependencies
# Use apk for Alpine Linux instead of apt-get RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apk add --no-cache \
gcc \ gcc \
build-essential \ build-essential \
libpq-dev \ libpq-dev \
curl curl \
&& rm -rf /var/lib/apt/lists/*
# Create non-root user # Create non-root user
RUN groupadd -r appuser && useradd -r -g appuser appuser RUN groupadd -r appuser && useradd -r -g appuser appuser
@ -60,4 +60,4 @@ CMD ["uvicorn", "app.main:app", \
"--port", "8000", \ "--port", "8000", \
"--workers", "8", \ "--workers", "8", \
"--access-log", \ "--access-log", \
"--log-level", "info"] "--log-level", "info"]