Spaces:
Paused
Paused
File size: 325 Bytes
3c8d1eb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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"] |