relay / Dockerfile
azr43l's picture
Update Dockerfile
610b386
FROM python:3.9-slim
# Install necessary packages
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install Flask requests
# Copy the app.py file to the container
COPY app.py .
# Expose port 80 for the default website
EXPOSE 80
# Set the entrypoint to start the application
#CMD ["python", "app.py"]
ENTRYPOINT ["python", "app.py"]