mirror of
https://github.com/DerTyp7/glassminers-server-docker.git
synced 2025-10-29 21:02:10 +01:00
first commit
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM debian:12.11-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y wget
|
||||
|
||||
ENV MAX_LOGS="20"
|
||||
ENV LOG_DIR="/var/log/glassminers"
|
||||
ENV LOG_DATE_FORMAT="%Y-%m-%d-%H-%M-%S"
|
||||
|
||||
RUN mkdir -p ${LOG_DIR}
|
||||
|
||||
WORKDIR "/usr/local/bin/glassminers"
|
||||
|
||||
COPY ./scripts/download_server.sh ./
|
||||
COPY ./scripts/run_server.sh ./
|
||||
|
||||
RUN chmod 777 ./*.sh
|
||||
RUN ./download_server.sh
|
||||
|
||||
CMD ["./run_server.sh"]
|
||||
|
||||
EXPOSE 9876
|
||||
Reference in New Issue
Block a user