next-chat-ui / Dockerfile
pikto's picture
Update Dockerfile
f942c58 verified
raw
history blame
512 Bytes
#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
# Command to run the start script
CMD ["sh", "start.sh"]