diff --git a/Dockerfile b/Dockerfile index d74184d..3cbdfb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,5 @@ FROM debian:buster-slim COPY --from=build /usr/local/cargo/bin/clima /usr/local/bin/clima RUN apt-get update && apt-get install -y libssl-dev && rm -rf /var/lib/apt/lists/* ENV ACCUWHEATHER_API_ID "1" -ENV PATH_TO_CITIES "/share/cities" -CMD ["clima", $ACCUWHEATHER_API_ID, $PATH_TO_CITIES] +ENV PATH_TO_CITIES "/share/cities.json" +CMD [ "sh", "-c", "/usr/local/bin/clima $ACCUWHEATHER_API_ID $PATH_TO_CITIES" ]