Files
PawanOsman-ChatGPT/docker-compose/bettergpt/Dockerfile
T
2024-04-15 09:41:39 +03:00

21 lines
373 B
Docker

# Use a Node.js base image
FROM node:19-alpine
# Set the working directory
WORKDIR /app
# Install git
RUN apk add --no-cache git
# Clone the project repository
RUN git clone https://github.com/ztjhz/BetterChatGPT.git /app
# Install dependencies
RUN npm install
# Expose the port the app runs on
EXPOSE 5173
# Command to run the start script
CMD ["npm", "run", "dev"]