Yumeng Liu
setup file
caea753
raw
history blame contribute delete
307 Bytes
FROM python:3.12
LABEL authors="yumengliu"
ENV PATH="/home/user/.local/bin:$PATH"
RUN useradd -m -u 1000 user
USER user
COPY . .
# Set the working directory to /
WORKDIR /
RUN pip install --no-cache-dir --upgrade -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]