bank_transaction / Dockerfile
leynessa's picture
Create Dockerfile
17ca583 verified
raw
history blame contribute delete
325 Bytes
FROM python:3.10
# Set work directory
WORKDIR /app
# Copy all files into container
COPY . .
# Install requirements
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Expose port (required for Spaces)
EXPOSE 7860
# Command to run the app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]