|
FROM ubuntu:22.04 |
|
LABEL authors="p1utoze" |
|
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
python3 \ |
|
python3-pip \ |
|
python3-dev \ |
|
build-essential \ |
|
libssl-dev \ |
|
libffi-dev \ |
|
python3-setuptools \ |
|
python3-venv \ |
|
git \ |
|
&& apt-get clean |
|
|
|
WORKDIR /app |
|
|
|
|
|
COPY requirements.txt /app/requirements.txt |
|
RUN |
|
RUN python3 -m pip install --upgrade pip |
|
RUN python3 -m pip install -r requirements.txt |
|
|
|
|
|
COPY app.py /app/app.py |
|
|
|
COPY foodviz/ /app/foodviz/ |
|
COPY .streamlit /app/.streamlit |
|
|
|
|
|
EXPOSE 8501 |
|
|
|
|
|
CMD ["streamlit", "run", "app.py", "--server.port=8501"] |
|
|