Skip to content

Commit

Permalink
Remove Gcloud from Backend Docker (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay288 authored Nov 16, 2022
1 parent a460fdc commit ed958e0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions deploy/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,4 @@ RUN yarn
EXPOSE 8080
RUN yarn build

# Install python/pip
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools

WORKDIR /usr/src
RUN wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-400.0.0-linux-x86_64.tar.gz
RUN tar -xf google-cloud-cli-400.0.0-linux-x86_64.tar.gz
RUN ./google-cloud-sdk/install.sh
ENV PATH=$PATH:/usr/src/google-cloud-sdk/bin

WORKDIR /usr/src/app/backend

CMD [ "yarn", "start" ]

0 comments on commit ed958e0

Please sign in to comment.