Skip to content

Commit

Permalink
added env in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishDave1 committed Nov 16, 2024
1 parent ba8db71 commit 4ab9c19
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@
# Use a specific Node.js version
FROM node:21.2.0-alpine

# Use Environment variables
ENV UPSTASH_REDIS_REST_URL=${UPSTASH_REDIS_REST_URL}
ENV UPSTASH_REDIS_REST_TOKEN=${UPSTASH_REDIS_REST_TOKEN}
ENV GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
ENV GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
ENV NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
ENV PUSHER_APP_ID=${PUSHER_APP_ID}
ENV NEXT_PUBLIC_PUSHER_KEY=${NEXT_PUBLIC_PUSHER_KEY}
ENV PUSHER_SECRET=${PUSHER_SECRET}
ENV PUSHER_CLUSTER=${PUSHER_CLUSTER}
ENV NEXTAUTH_URL=${NEXTAUTH_URL}

# Set the working directory inside the container
WORKDIR /app

Expand Down

0 comments on commit 4ab9c19

Please sign in to comment.