This commit is contained in:
parent
cdb3f5f556
commit
535a17af29
@ -4,16 +4,11 @@ FROM harbor.dvirlabs.com/base-images/python:3.11-slim
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gcc \
|
||||
postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy requirements file
|
||||
COPY requirements.txt .
|
||||
|
||||
# Install Python dependencies
|
||||
# Note: psycopg2-binary is pre-compiled, no gcc needed
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application code
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user