This repository has been archived on 2025-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025IoT-project-ThingsBoard/Dockerfile.scripts
2025-12-19 17:22:45 +01:00

12 lines
304 B
Text

FROM alpine:latest
RUN apk add --no-cache bash curl
RUN adduser -D scripter
WORKDIR /home/scripter
USER scripter
RUN mkdir -p /home/scripter/scripts
COPY --chown=scripter:scripter ./scripts /home/scripter/scripts
CMD ["bash", "-c", "for script in /home/scripter/scripts/*.sh; do bash $script; done"]