testing-area / Dockerfile
chartManD's picture
intento de et 2.3
7372975
raw
history blame
No virus
690 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 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
RUN apt update -y
RUN apt upgrade -y
RUN apt -y install apache2
RUN apt -y install nodejs
RUN node -v
RUN rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh entrypoint.sh
RUN chmod +x entrypoint.sh
EXPOSE 7860
#EXPOSE 22
WORKDIR app
RUN ls
#USER root
#RUN cat /etc/passwd
ENTRYPOINT ["./entrypoint.sh"]
#CMD ["node", "mocos.js"]