abubasith86 commited on
Commit
d0d946a
·
1 Parent(s): bb7e4dc
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM node:23.7.0 as builder
4
  RUN apt-get update && apt-get install -y git
5
 
6
  # Clone the GitHub repository
7
- RUN if [ -d "/usr/src/app/.git" ]; then cd /usr/src/app && git pull; else git clone https://github.com/abubasith456/Node-WLA.git /usr/src/app; fi
8
 
9
  # Set the working directory
10
  WORKDIR /usr/src/app
 
4
  RUN apt-get update && apt-get install -y git
5
 
6
  # Clone the GitHub repository
7
+ RUN rm -rf /usr/src/app && git clone https://github.com/abubasith456/Node-WLA.git /usr/src/app
8
 
9
  # Set the working directory
10
  WORKDIR /usr/src/app