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 55cee36 commit 9a643caCopy full SHA for 9a643ca
docker-init/Dockerfile
@@ -9,10 +9,12 @@ COPY requirements.txt .
9
RUN pip3 install --upgrade pip; pip3 install -r requirements.txt
10
11
COPY generate_anomalous_data.py .
12
+COPY start.sh /start.sh
13
+RUN chmod +x /start.sh
14
15
ENV DYNAMO_ENDPOINT="http://localhost:8000"
16
ENV AWS_DEFAULT_REGION="fakeregion"
17
ENV AWS_ACCESS_KEY_ID="fakeaccesskey"
18
ENV AWS_SECRET_ACCESS_KEY="fakesecretkey"
19
-RUN python3 generate_anomalous_data.py
20
+CMD ["/start.sh"]
docker-init/start.sh
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+python3 generate_anomalous_data.py
3
+exec "$@"
0 commit comments