testing2 / Dockerfile
frommmmmm's picture
Rename dockerfile to Dockerfile
3fd43fa verified
Raw History Blame Contribute Delete
439 Bytes
FROM quay.io/ayanokojix2306/kojixsophia:latest
# Clone the repository
RUN git clone https://github.com/ayanokojix-1/SOPHIA-MD /home/suhai
# Change ownership of the directory to the 'node' user
RUN chown -R node:node /home/suhai
# Switch to the 'node' user
USER node
# Set the working directory
WORKDIR /home/suhai
# Install dependencies
RUN npm install
# Expose the port
EXPOSE 7860
# Run the start.sh script
CMD ["npm" , "start" ]