first
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:lts-slim as base
|
||||
|
||||
RUN npm i holesail -g
|
||||
|
||||
#ENV PORT 25565
|
||||
ENV MODE client
|
||||
ENV HOST 0.0.0.0
|
||||
#ENV CONNECTOR=$CONNECTOR
|
||||
|
||||
ENTRYPOINT sh -c ' \
|
||||
if [ "$MODE" = "server" ]; then \
|
||||
holesail --live $PORT --host $HOST --connector $CONNECTOR; \
|
||||
elif [ "$MODE" = "client" ]; then \
|
||||
holesail --port $PORT --host $HOST $CONNECTOR; \
|
||||
fi '
|
Reference in New Issue
Block a user