-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comenting out hard coded evn variable
- Loading branch information
1 parent
33cdf90
commit 406d54c
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
# | ||
|