Skip to content

Commit

Permalink
Deploy to Google Cloud (#159)
Browse files Browse the repository at this point in the history
Co-authored-by: Anup Mantri <[email protected]>
  • Loading branch information
2 people authored and jonahchoi committed Jul 28, 2023
1 parent 6e7aba0 commit 9a693bb
Show file tree
Hide file tree
Showing 16 changed files with 507 additions and 81 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
src/backend/db/zapatos
.next
.nsm
.terraform
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ ENV APP_HOME=/opt/node/app
USER node:node
WORKDIR $APP_HOME

COPY --chown=node:node package*.json .
COPY --chown=node:node package*.json ./

# We install Husky via a "prepare" lifecycle script - disable it in prod
# See: https://typicode.github.io/husky/guide.html#disable-husky-in-ci-docker-prod
RUN npm pkg delete scripts.prepare
RUN npm pkg delete scripts.prepare && npm pkg delete scripts.postinstall
RUN npm ci

# Copy the project files into the app directory
Expand Down
Loading

0 comments on commit 9a693bb

Please sign in to comment.