Skip to content

Commit

Permalink
Merge pull request #14 from Mexidense/feat/add-google-cloud-ci-cd
Browse files Browse the repository at this point in the history
Deployment in Google Cloud
  • Loading branch information
Mexidense authored Dec 12, 2023
2 parents bb1393d + 2942b2e commit 8431264
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARG PUBLIC_APP_URL

FROM node:18.17.0-alpine
RUN mkdir /app
COPY package.json /app/
WORKDIR /app

COPY . ./

ENV NEXT_PUBLIC_APP_URL ${PUBLIC_APP_URL}

RUN npm ci
RUN npm run build

EXPOSE 3000

CMD ["npm", "run","start"]

0 comments on commit 8431264

Please sign in to comment.