Skip to content

Commit

Permalink
ok sleeping now /deploy-app
Browse files Browse the repository at this point in the history
  • Loading branch information
AditiR-42 committed Dec 11, 2024
1 parent 031928f commit d029cd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app-ci-cd-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
-e USE_GKE_GCLOUD_AUTH_PLUGIN=True \
-e GCP_PROJECT=ac215-privasee \
-e GCP_ZONE=us-central1-a \
privasee-deployment sh -c "ls -l && ./deploy-k8s-update.sh"
privasee-deployment sh deploy-k8s-update.sh
7 changes: 5 additions & 2 deletions src/deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/d
RUN apt-get update && \
apt-get install -y google-cloud-sdk google-cloud-sdk-gke-gcloud-auth-plugin jq docker-ce && \
apt-get install -y build-essential libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev pkg-config && \
apt-get install -y python-is-python3
apt-get install -y python-is-python3 && \
pip install openshift ansible docker apache-libcloud pipenv

# Set Python path for node-gyp
ENV PYTHON=/usr/bin/python3
Expand All @@ -48,7 +49,9 @@ RUN useradd -ms /bin/bash app -d /home/app -u 1000 -p "$(openssl passwd -1 passw
RUN ls -la /app
# Set the working directory
WORKDIR /app
ADD --chown=app:app . /app
# Install python packages
ADD --chown=app:app Pipfile Pipfile.lock /app/
RUN pipenv sync
RUN chmod +rx /app/docker-entrypoint.sh
RUN chmod +x /app/*
RUN ls -la /app
Expand Down

0 comments on commit d029cd2

Please sign in to comment.