FROM openspug/spug-service

# Install netcat for database connectivity check
RUN apt-get update && apt-get install -y netcat && rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
