mirror of
https://github.com/PawanOsman/ChatGPT.git
synced 2026-06-01 22:08:54 +02:00
optimize: copy source code in Dockerfile
Signed-off-by: K8sCat <k8scat@gmail.com>
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