Skip to content

Commit 7ca0ab1

Browse files
committed
make one minor change
1 parent e14c628 commit 7ca0ab1

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ COPY requirements.txt .
55
RUN pip install --no-cache-dir -r requirements.txt
66
USER appuser
77
COPY . .
8-
CMD run.sh
8+
CMD [ "bash", "./run_docker.sh" ]

run_docker.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
python ./main.py \
2+
--db-host="${DB_HOST}" \
3+
--db-port="${DB_PORT}" \
4+
--db-user="${DB_USER}" \
5+
--db-password="${DB_PASSWORD}" \
6+
--db-name="${DB_NAME}" \
7+
--slack-channel="${SLACK_CHANNEL}" \
8+
--interval-seconds=${INTERVAL_SECONDS} \
9+
--size-threshold-mb=${SIZE_THRESHOLD_MB}

0 commit comments

Comments
 (0)