receipt_radar_test / Dockerfile
Omkar008's picture
Update Dockerfile
8f6701b
raw
history blame
No virus
324 Bytes
FROM python:3.11.5-slim
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
RUN useradd -m -u 1000 user
USER user
# Copy the rest of the application code into the container at /app
COPY --chown=user . /app/
# Command to run your application
CMD ["uvicorn", "test:app", "--host", "0.0.0.0", "--port", "7860"]