We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e14c628 commit 7ca0ab1Copy full SHA for 7ca0ab1
Dockerfile
@@ -5,4 +5,4 @@ COPY requirements.txt .
5
RUN pip install --no-cache-dir -r requirements.txt
6
USER appuser
7
COPY . .
8
-CMD run.sh
+CMD [ "bash", "./run_docker.sh" ]
run_docker.sh
@@ -0,0 +1,9 @@
1
+python ./main.py \
2
+ --db-host="${DB_HOST}" \
3
+ --db-port="${DB_PORT}" \
4
+ --db-user="${DB_USER}" \
+ --db-password="${DB_PASSWORD}" \
+ --db-name="${DB_NAME}" \
+ --slack-channel="${SLACK_CHANNEL}" \
+ --interval-seconds=${INTERVAL_SECONDS} \
9
+ --size-threshold-mb=${SIZE_THRESHOLD_MB}
0 commit comments