diff --git a/Dockerfile b/Dockerfile index e350db8c..81f3a560 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,7 +70,6 @@ RUN --mount=type=cache,target=${CARGO_HOME}/registry \ FROM ubuntu:24.04 AS runtime-base RUN apt-get update && \ apt-get install -y \ - libssl3 \ ca-certificates \ && rm -rf /var/lib/apt/lists/* ENV RUST_BACKTRACE=1 \ diff --git a/README.md b/README.md index c3000f68..4170e6e0 100644 --- a/README.md +++ b/README.md @@ -163,16 +163,16 @@ sequenceDiagram ## Running -### Debug mode +### `main` branch ```bash -docker compose up --build +docker compose up --pull always ``` -### Release mode +### With local build (for development) ```bash -docker compose -f docker-compose.release.yml up --build +docker compose up --build ``` ## Features diff --git a/docker-compose.yml b/docker-compose.yml index 175b4653..e87fd2e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,10 @@ services: hyperion-proxy: image: ghcr.io/hyperion-mc/hyperion/hyperion-proxy:latest + build: + context: . + dockerfile: Dockerfile + target: hyperion-proxy ports: - "25565:25565" command: [ "--server", "tag:35565", "0.0.0.0:25565" ] @@ -13,6 +17,10 @@ services: - tag tag: image: ghcr.io/hyperion-mc/hyperion/tag:latest + build: + context: . + dockerfile: Dockerfile + target: tag ports: - "27750:27750" expose: