Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ WORKDIR /code
|
|
5 |
# Copy the Python code from the xsadcp repository
|
6 |
RUN apt-get update \
|
7 |
&& apt-get install -y wget tar \
|
8 |
-
&& wget https://github.com/
|
9 |
&& tar -xzvf 0.11.tar.gz \
|
10 |
&& mv xsadcp-0.11 xsadcp \
|
11 |
&& rm 0.11.tar.gz
|
@@ -26,9 +26,9 @@ WORKDIR /code/xsadcp
|
|
26 |
# Add step to download data.tar from URL and extract its contents to /data/
|
27 |
RUN mkdir data \
|
28 |
&& chmod 777 data \
|
29 |
-
&& wget https://data-eurogoship.ifremer.fr/
|
30 |
-
&& tar -xvf
|
31 |
-
&& rm
|
32 |
&& ls data/
|
33 |
|
34 |
CMD ["panel", "serve", "xsadcp/app.py", "--warm", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
|
|
5 |
# Copy the Python code from the xsadcp repository
|
6 |
RUN apt-get update \
|
7 |
&& apt-get install -y wget tar \
|
8 |
+
&& wget https://github.com/SADCPVIEW/xsadcp/archive/refs/tags/0.11.tar.gz \
|
9 |
&& tar -xzvf 0.11.tar.gz \
|
10 |
&& mv xsadcp-0.11 xsadcp \
|
11 |
&& rm 0.11.tar.gz
|
|
|
26 |
# Add step to download data.tar from URL and extract its contents to /data/
|
27 |
RUN mkdir data \
|
28 |
&& chmod 777 data \
|
29 |
+
&& wget https://data-eurogoship.ifremer.fr/data.tar \
|
30 |
+
&& tar -xvf data.tar -C data/ \
|
31 |
+
&& rm data.tar \
|
32 |
&& ls data/
|
33 |
|
34 |
CMD ["panel", "serve", "xsadcp/app.py", "--warm", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|