Etape 3 + refonte visuelle + corrections etape 2
This commit is contained in:
20
backend/app/sandbox/Dockerfile.qa
Normal file
20
backend/app/sandbox/Dockerfile.qa
Normal file
@@ -0,0 +1,20 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user