Skip to content

Commit

Permalink
Merge pull request #48 from dreampipcom/dev
Browse files Browse the repository at this point in the history
r002
  • Loading branch information
angeloreale committed Aug 26, 2024
2 parents 1b7e797 + 2c5ac20 commit 6ad3ef7
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 263 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ ARG PRISMA_PUBLIC_URI
ARG MONGODB_PUBLIC_URI

ARG NEXUS_MODE
ARG NEXUS_KEEPALIVE

# ENV FROM ARGS VARS
ENV AUTH_GITHUB_ID=$AUTH_GITHUB_ID
Expand Down Expand Up @@ -117,6 +118,8 @@ ENV PRISMA_PUBLIC_URI=$PRISMA_PUBLIC_URI
ENV MONGODB_PUBLIC_URI=$MONGODB_PUBLIC_URI

ENV NEXUS_MODE=$NEXUS_MODE
ENV NEXUS_KEEPALIVE=$NEXUS_KEEPALIVE


RUN \
if [ -f yarn.lock ]; then yarn run build:vm; \
Expand Down Expand Up @@ -171,6 +174,7 @@ ARG PRISMA_PUBLIC_URI
ARG MONGODB_PUBLIC_URI

ARG NEXUS_MODE
ARG NEXUS_KEEPALIVE

# ENV FROM ARGS VARS
ENV AUTH_GITHUB_ID=$AUTH_GITHUB_ID
Expand Down Expand Up @@ -210,6 +214,7 @@ ENV PRISMA_PUBLIC_URI=$PRISMA_PUBLIC_URI
ENV MONGODB_PUBLIC_URI=$MONGODB_PUBLIC_URI

ENV NEXUS_MODE=$NEXUS_MODE
ENV NEXUS_KEEPALIVE=$NEXUS_KEEPALIVE

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
Expand Down
Loading

0 comments on commit 6ad3ef7

Please sign in to comment.