Spaces:
Runtime error
Runtime error
# Install Images | |
FROM python:3.10.7-slim | |
# Set working directory | |
WORKDIR /home/app | |
# Install packages | |
RUN apt-get update -y && apt-get upgrade -y | |
# Copy all files into working directory | |
COPY . . | |
# Install library | |
RUN pip3 install -r requirements.txt | |
# (OPTIONAL) You can use you own port for expose port | |
EXPOSE 8000 | |
# Run script | |
CMD ["python", "app.py"] |