Files
ARC/backend/app/sandbox/Dockerfile.qa
2026-07-07 09:57:21 +02:00

20 lines
433 B
Docker

FROM semgrep/semgrep:latest
USER root
RUN sed -i 's/https/http/g' /etc/apk/repositories && \
apk update && apk add --no-cache python3 py3-pip
RUN pip install --no-cache-dir \
--trusted-host pypi.org \
--trusted-host files.pythonhosted.org \
--break-system-packages \
fastapi uvicorn
WORKDIR /app
COPY main.py .
EXPOSE 8004
CMD ["python3", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8004"]