FROM debian:12-slim WORKDIR /app RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/* COPY ./DarkflameServer/build /app COPY ./start.sh /app/ RUN chmod +x /app/start.sh ENV MYSQL_HOST darkflame_db ENV MYSQL_DATABASE darkflame ENV MYSQL_USERNAME darkflame ENV MAX_CLIENTS 999 ENV TEAM_LOOT 1 ENV CLIENT_VERSION 171022 ENTRYPOINT ['start.sh']