Spaces:
Paused
Paused
FROM node:20-bullseye-slim | |
RUN apt-get update && \ | |
apt-get install -y git | |
EXPOSE 7860 | |
WORKDIR /home/node | |
RUN mkdir app && chown node:node app | |
USER node | |
WORKDIR /home/node/app | |
RUN mkdir source_code | |
COPY Dockerfile greeting.md* .env* ./ | |
COPY run.sh ./ | |
USER root | |
RUN chmod +x ./run.sh | |
USER node | |
CMD ["/bin/bash", "./run.sh"] |