Skip to content

Commit

Permalink
feat: setup gcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Apr 7, 2024
1 parent 17ed7df commit 9e2ff0f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Dockerfile
.dockerignore
node_modules
npm-debug.log
2 changes: 2 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:20-alpine

WORKDIR /usr/app

COPY . .

RUN npm ci

RUN npm run build

CMD ["npm", "start"]

0 comments on commit 9e2ff0f

Please sign in to comment.