Merge pull request 'refactor: Switch backend Dockerfile to use Alpine package manager' (#9) from ph4 into prod
Reviewed-on: #9
This commit is contained in:
commit
1907911779
@ -9,12 +9,12 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
# Use apk for Alpine Linux instead of apt-get
|
||||
RUN apk add --no-cache \
|
||||
gcc \
|
||||
build-essential \
|
||||
libpq-dev \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
curl
|
||||
|
||||
# Create non-root user
|
||||
RUN groupadd -r appuser && useradd -r -g appuser appuser
|
||||
|
Loading…
Reference in New Issue
Block a user