Fix wrong copy in Dockerfile

This commit is contained in:
Alberto Soutullo 2024-05-31 18:34:50 +02:00
parent 26617072a2
commit 2934aa98e3
No known key found for this signature in database
GPG Key ID: A7CAC0D8343B0387
1 changed files with 2 additions and 1 deletions

3
Dockerfile Executable file → Normal file
View File

@ -39,12 +39,13 @@ RUN apk add --no-cache busybox-suid \
&& apk add --no-cache bash
# Copy to separate location to accomodate different MAKE_TARGET values
COPY --from=nim-build /app/build/ /node/main
COPY --from=nim-build /app/build/main /node/main
WORKDIR /node
COPY cron_runner.sh .
RUN chmod +x /node/main
RUN chmod +x cron_runner.sh
ENTRYPOINT ["./cron_runner.sh"]