Updating Dockerfile to include branch
This commit is contained in:
1 parent
9d793aa12c
commit
017437d946
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@ WORKDIR /app
|
||||
# Install git and clone the repository
|
||||
RUN apk add --no-cache git
|
||||
ARG REPO_URL
|
||||
RUN git clone $REPO_URL .
|
||||
RUN git clone -b $REPO_BRANCH $REPO_URL .
|
||||
|
||||
# Install dependencies and build the project
|
||||
RUN npm install
|
||||
|
||||
Reference in new issue
Block a user