mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-09-11 00:32:49 +02:00
Update docker file
This commit is contained in:
parent
95d9c5c756
commit
041edf515f
3 changed files with 2 additions and 3 deletions
|
@ -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
Add a link
Reference in a new issue