Skip to content

Commit

Permalink
comenting out hard coded evn variable
Browse files Browse the repository at this point in the history
  • Loading branch information
joselevelh committed Apr 20, 2024
1 parent 33cdf90 commit 406d54c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drakes_api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FROM python:3.9
LABEL authors="JoseLevel"

# Setting env variable via arg to be passed at container run time or build time
#ARG MONGO_URI_ARG
#ENV MONGO_URI=$MONGO_URI_ARG
ARG MONGO_URI_ARG
ENV MONGO_URI=$MONGO_URI_ARG

ENV MONGO_URI="mongodb+srv://user2:[email protected]/?retryWrites=true&w=majority"
#ENV MONGO_URI="mongodb+srv://user2:[email protected]/?retryWrites=true&w=majority"

RUN echo $MONGO_URI
#
Expand Down

0 comments on commit 406d54c

Please sign in to comment.