qa-api / Dockerfile
SebastianSchramm's picture
add first version
2dcc710
raw
history blame contribute delete
No virus
250 Bytes
FROM python:3.11-slim
RUN useradd -m -u 1000 user
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=user . /app
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]