asas / Dockerfile
theonlykid's picture
Update Dockerfile
9f79c09
raw
history blame contribute delete
444 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
COPY ./app.py /code/app.py
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["apt", "update", "-y"]
CMD ["apt", "install", "tmate" , "-y"]
CMD ["apt", "install", "neofetch", "-y"]
CMD ["neofetch"]