Build and push backend
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
dvirlabs 2026-05-05 06:44:00 +03:00
parent cdb3f5f556
commit 535a17af29

View File

@ -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