We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe30f76 commit 7c3b280Copy full SHA for 7c3b280
.docker/start.sh
@@ -1,3 +1,11 @@
1
#! /usr/bin/env bash
2
set -e
3
+
4
+if [ -z "$(ls -A /gisi/data)" ]; then
5
+ echo "Creating data folder"
6
+ cp -r /gisi/_data/* /gisi/data
7
+else
8
+ echo "Data folder exists"
9
+fi
10
11
exec /usr/bin/supervisord
Dockerfile
@@ -36,7 +36,7 @@ VOLUME /gisi/data
36
37
COPY gisi /gisi/gisi
38
COPY run.py /gisi/
39
-COPY data /gisi/data
+COPY data /gisi/_data
40
41
COPY .docker/start.sh /start.sh
42
RUN chmod +x /start.sh
0 commit comments