Update docker file

This commit is contained in:
rtm516 2021-06-05 01:19:43 +01:00
commit 041edf515f
No known key found for this signature in database
GPG key ID: 331715B8B007C67A
3 changed files with 2 additions and 3 deletions

View file

@ -2,5 +2,4 @@ FROM openjdk:8-jre-slim
RUN mkdir /gsc
WORKDIR /gsc
EXPOSE 19132/udp
EXPOSE 19133/udp
CMD ["java", "-Xms1G", "-jar", "GeyserConnect.jar"]

View file

@ -6,5 +6,5 @@ This contains the docker image and a basic way of running GeyserConnect
2. Build the docker file using `docker build -t geyser-connect .`
3. Start geyser using this:
```
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -p 19133:19133/udp -v $(pwd)/data:/gsc geyser-connect
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -v $(pwd)/data:/gsc geyser-connect
```