Modified zs_config.json to only copy if exists

If zs_config.json does not exist it no longer forces a copy of the file.
This commit is contained in:
LeithC
2021-10-25 16:54:38 +10:30
committed by GitHub
parent 2552e7ece0
commit 9f841bf00f

View File

@@ -14,6 +14,6 @@ FROM base
COPY --from=builder /install /usr/local COPY --from=builder /install /usr/local
COPY zspotify /app COPY zspotify /app
COPY zs_config.json / COPY *zs_config.json /
WORKDIR /app WORKDIR /app
ENTRYPOINT ["/usr/local/bin/python", "__main__.py"] ENTRYPOINT ["/usr/local/bin/python", "__main__.py"]