Skip to content

Commit

Permalink
remove more artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tevko committed Jan 28, 2025
1 parent 75c724f commit 0fb36be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ prod.env
xids.csv
preprod.env
.venv
server/llm-service-account.json
16 changes: 0 additions & 16 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ WORKDIR /app
# Install Python and necessary tools (including pip)
RUN apk add --no-cache python3 py3-pip

# Install the gcloud CLI
RUN apk add --no-cache wget gnupg && \
wget -q -O - https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz | tar xvz -C /root && \
/root/google-cloud-sdk/install.sh --quiet

ENV PATH="/root/google-cloud-sdk/bin:${PATH}"

# This package is needed at runtime
RUN apk add libpq-dev

Expand Down Expand Up @@ -54,15 +47,6 @@ FROM base as prod
# Set default NODE_ENV to production unless overridden at build time with --build-arg NODE_ENV=development
ENV NODE_ENV ${NODE_ENV:-production}

# ARG JIGSAW_SERVICE_ACCT
# ENV JIGSAW_SERVICE_ACCT=${JIGSAW_SERVICE_ACCT}
# RUN echo ${JIGSAW_SERVICE_ACCT} > /app/llm-service-account.json

# ENV GOOGLE_APPLICATION_CREDENTIALS=/app/llm-service-account.json

# Authenticate with the service account
# RUN gcloud auth activate-service-account --key-file=/app/llm-service-account.json

RUN npm ci --production=false

# For prod builds, to minimize the image size, remove the dependencies tagged with `--virtual .build` above.
Expand Down

0 comments on commit 0fb36be

Please sign in to comment.