2023-11-07 22:39:38 +01:00
|
|
|
FROM debian:12-slim
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2023-11-08 19:01:10 +01:00
|
|
|
RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2023-11-07 22:39:38 +01:00
|
|
|
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
|
|
|
|
|
2023-11-08 19:09:05 +01:00
|
|
|
ENTRYPOINT [ "start.sh" ]
|