sidewalk-sam / Dockerfile
David Vaillant
Adding trans cache
47b6c2c
raw
history blame
381 Bytes
FROM python:3.11
WORKDIR /code
ENV TRANSFORMERS_CACHE=/code/cache
COPY ./requirements.txt /code/requirements.txt
RUN apt update
RUN apt-get -y install libgdal-dev
RUN pip install --no-cache-dir --upgrade numpy
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
EXPOSE 7860
CMD ["shiny", "run", "baby_shiny.py", "--host", "0.0.0.0", "--port", "7860"]