# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile # FROM debian:12.6 # COPY ./app ./app # COPY entrypoint.sh entrypoint.sh # RUN chmod +x entrypoint.sh # EXPOSE 7860 # EXPOSE 22 # RUN cat /etc/passwd # ENTRYPOINT ["./entrypoint.sh"] # CMD ["bash"] FROM debian:12.6 COPY . ./app COPY entrypoint.sh entrypoint.sh RUN chmod +x entrypoint.sh EXPOSE 7860 EXPOSE 80 EXPOSE 22 WORKDIR ./app #USER root RUN cat /etc/passwd ENTRYPOINT ["./entrypoint.sh"] CMD ["bash"]