File size: 422 Bytes
70b153e
71774db
70b153e
71774db
70b153e
71774db
70b153e
71774db
70b153e
 
 
9ae4a60
70b153e
209e4e4
70b153e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Start with a builder image
FROM python:3.9 as builder

WORKDIR /code
# Copy only requirements.txt initially to leverage Docker cache
COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY . .

RUN apt-get update && apt-get install -y glpk-utils
# Expose port 80 to the outside world

# Command to run the Uvicorn server
CMD ["streamlit", "run", "app.py"]