Spaces:
Build error
Build error
File size: 542 Bytes
5f08c18 d841c7f 5f08c18 f942c58 5f08c18 d841c7f 5f08c18 cc34b6f 5f08c18 cc34b6f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
#FROM node:18
RUN git clone https://github.com/piktokenn/ChatGPT-Next-Web.git
#WORKDIR "ChatGPT-Next-Web"
#RUN npm i
#RUN npm run build
#EXPOSE 3000
#CMD ["npm", "run", "start"]
# Use a Node.js base image
FROM node:19-alpine
#Clone repo
RUN git clone https://github.com/PawanOsman/ChatGPT.git
# Set the working directory
WORKDIR "app"
# Copy source code
COPY . .
# Install dependencies
RUN npm install
# Expose the port the app runs on
EXPOSE 3040
CMD ["npm", "run", "start"]
# Command to run the start script
#CMD ["sh", "start.sh"] |