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