add git token; change cookie and header view for mobile;
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -7,9 +7,17 @@ WORKDIR /app
|
||||
# Install git.
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Set build arguments for token and username
|
||||
ARG GIT_ACCESS_TOKEN
|
||||
ARG GIT_USERNAME
|
||||
|
||||
# Set environment variables (optional, for use in RUN)
|
||||
ENV GIT_ACCESS_TOKEN=${GIT_ACCESS_TOKEN}
|
||||
ENV GIT_USERNAME=${GIT_USERNAME}
|
||||
|
||||
# Clone the repository.
|
||||
# IMPORTANT: Replace with your actual repository URL.
|
||||
RUN git clone https://git.haider.app/your-repo.git .
|
||||
RUN git clone https://${GIT_USERNAME}:${GIT_ACCESS_TOKEN}@git.haider.app/tizian/quarry-party-landing-page-react.git .
|
||||
|
||||
# Install dependencies.
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user