Spaces:
Sleeping
Sleeping
download data
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -7,7 +7,11 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip
|
|
| 7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
| 12 |
|
| 13 |
RUN mkdir /.cache
|
|
|
|
| 7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
+
# Add step to download folder from URL
|
| 11 |
+
RUN apt-get update && apt-get install -y wget \
|
| 12 |
+
&& wget https://data-eurogoship.ifremer.fr/copy_seadatanet/1H_file.zarr \
|
| 13 |
+
&& mv 1H_file.zarr /data/
|
| 14 |
+
|
| 15 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
| 16 |
|
| 17 |
RUN mkdir /.cache
|