From fa388f6e59401059530fae9d6d15da809fe2abb7 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Tue, 6 Oct 2020 11:02:55 +0200 Subject: [PATCH] Add default command --- Dockerfile | 1 + docs/install.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df381def..031fff45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,3 +3,4 @@ COPY screego /screego EXPOSE 5050 WORKDIR "/" ENTRYPOINT [ "/screego" ] +CMD ["serve"] diff --git a/docs/install.md b/docs/install.md index 5a79a2b0..e35de93b 100644 --- a/docs/install.md +++ b/docs/install.md @@ -12,7 +12,7 @@ The [screego/server](https://hub.docker.com/r/screego/server) docker images are This means the image will work for `amd64`, `i386`, `ppc64le` (power pc), `arm64`, `arm v7` (Raspberry PI). ```bash -$ docker run -p 8080:5050 -e SCREEGO_EXTERNAL_IP=0.0.0.0 screego/server:GITHUB_VERSION serve +$ docker run -p 8080:5050 -e SCREEGO_EXTERNAL_IP=0.0.0.0 screego/server:GITHUB_VERSION ``` By default, Screego runs on port 5050.