update docker
This commit is contained in:
@@ -12,6 +12,8 @@ ENV TZ=Europe/Brussels
|
|||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
COPY update_and_run.sh /app
|
COPY update_and_run.sh /app
|
||||||
RUN chmod +x /app/update_and_run.sh
|
# Normalize line endings (Windows CRLF -> LF) and ensure readable
|
||||||
CMD ["./update_and_run.sh"]
|
RUN sed -i 's/\r$//' /app/update_and_run.sh && chmod a+r /app/update_and_run.sh
|
||||||
ENTRYPOINT ["sh", "-c", "./update_and_run.sh"]
|
|
||||||
|
# Single entrypoint: run via sh (no exec bit required, survives noexec mounts)
|
||||||
|
ENTRYPOINT ["sh", "/app/update_and_run.sh"]
|
||||||
Reference in New Issue
Block a user