FROM quay.io/ayanokojix2306/kojixsophia:latest # Clone the repository RUN git clone https://github.com/ayanokojix-1/SOPHIA-MD /home/chri # Change ownership of the directory to the 'node' user RUN chown -R node:node /home/chri # Switch to the 'node' user USER node # Set the working directory WORKDIR /home/chri # Install dependencies RUN npm install # Expose the port EXPOSE 7860 # Run the start.sh script CMD ["npm" , "start" ]