mirror of
https://github.com/PawanOsman/ChatGPT.git
synced 2026-06-02 06:14:25 +02:00
Merge pull request #85 from k8scat/main
optimize: copy source code in Dockerfile
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
docker-compose/
|
||||
.github/
|
||||
.gitignore
|
||||
start.bat
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
+2
-2
@@ -4,8 +4,8 @@ FROM node:19
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Clone the project repository
|
||||
RUN git clone https://github.com/PawanOsman/ChatGPT.git /app
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user