pipelines/Dockerfile
2024-05-30 18:32:55 -07:00

19 lines
404 B
Docker

FROM python:3.11-slim-bookworm as base
# Install GCC and build tools
RUN apt-get update && \
apt-get install -y gcc build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy the application code
COPY . /app
WORKDIR /app
# Install Python dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
ENV HOST="0.0.0.0"
ENV PORT="9099"
ENTRYPOINT [ "bash", "start.sh" ]