mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Update docker file
This commit is contained in:
parent
95d9c5c756
commit
041edf515f
3 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
[](LICENSE)
|
||||
[](https://ci.nukkitx.com/job/GeyserMC/job/GeyserConnect/job/master/)
|
||||
[](http://discord.geysermc.org/)
|
||||
[](http://hits.dwyl.io/GeyserMC/GeyserConnect)
|
||||
[](http://hits.dwyl.io/GeyserMC/GeyserConnect)
|
||||
|
||||
GeyserConnect is an easy way for Bedrock Edition clients to connect to any Java Edition servers without having to run anything.
|
||||
|
||||
|
|
|
@ -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"]
|
|
@ -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
|
||||
```
|
Loading…
Add table
Reference in a new issue