Include required data files in Docker image
Docker Build / Build Docker image (push) Successful in 7s
Docker Build / Build Docker image (push) Successful in 7s
This commit is contained in:
+6
-1
@@ -57,7 +57,12 @@ COPY migrations ./migrations
|
||||
COPY data ./data
|
||||
|
||||
RUN mkdir -p /app/data /app/backend/instance \
|
||||
&& find /app/data -type f \( -name "*.sh" -o -name "*.py" \) -exec chmod +x {} \;
|
||||
&& find /app/data -type f \( -name "*.sh" -o -name "*.py" \) -exec chmod +x {} \; \
|
||||
&& test -d /app/data/scripts \
|
||||
&& test -d /app/data/server_list \
|
||||
&& test -d /app/data/repository/xml \
|
||||
&& find /app/data/scripts -maxdepth 1 -type f \( -name "*.sh" -o -name "*.py" \) -print -quit | grep -q . \
|
||||
&& find /app/data/repository/xml -type f -name "*.xml" -print -quit | grep -q .
|
||||
|
||||
EXPOSE 6050
|
||||
|
||||
|
||||
Reference in New Issue
Block a user