Skip to content
This repository was archived by the owner on Jun 20, 2021. It is now read-only.

Commit ff6ad97

Browse files
author
regisf
committed
Add optionnal argument for building (typically --no-cache)
1 parent 1f3aa62 commit ff6ad97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Application/App/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
2222
"""
2323
from pymongo import MongoClient
24-
import settings
24+
import private_settings
2525

2626
_client = MongoClient('localhost')
27-
database = _client[settings.DB_NAME]
27+
database = _client[private_settings.DB_NAME]
2828

bin/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
. ./bin/tests.sh
44

55
cd build
6-
docker build -t pythonregex .
6+
docker build $1 -t pythonregex .

0 commit comments

Comments
 (0)