eggie5-adyen
commited on
Commit
•
9c9adeb
1
Parent(s):
984f571
added data downlaoder
Browse files- Dockerfile +3 -0
- download_data.sh +4 -0
Dockerfile
CHANGED
@@ -24,6 +24,9 @@ RUN pip install --no-cache-dir \
|
|
24 |
# Copy the FastAPI app code into the container
|
25 |
COPY . /app
|
26 |
|
|
|
|
|
|
|
27 |
# Expose the port FastAPI will run on
|
28 |
EXPOSE 7860
|
29 |
|
|
|
24 |
# Copy the FastAPI app code into the container
|
25 |
COPY . /app
|
26 |
|
27 |
+
RUN chmod +x /app/download_data.sh
|
28 |
+
RUN /app/download_data.sh
|
29 |
+
|
30 |
# Expose the port FastAPI will run on
|
31 |
EXPOSE 7860
|
32 |
|
download_data.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
mkdir -p /app/data
|
3 |
+
wget -O /app/data/payments.csv https://huggingface.co/datasets/adyen/data-agents-benchmark_DS/resolve/main/v1/context/payments.csv
|
4 |
+
exec "$@"
|