auto_sd_docker/Dockerfile

17 lines
274 B
Docker

FROM python:3.10.6
WORKDIR /
RUN apt update \
&& apt install -y wget git htop rsync libgoogle-perftools-dev libgl1 libglib2.0-0
COPY ./entrypoint.sh .
RUN ["chmod", "+x", "./entrypoint.sh"]
EXPOSE 7860
VOLUME [ "/repo" ]
CMD [ "./entrypoint.sh" ]