Add default command

This commit is contained in:
Jannis Mattheis
2020-10-06 11:02:55 +02:00
parent c96d1fbd39
commit fa388f6e59
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,3 +3,4 @@ COPY screego /screego
EXPOSE 5050
WORKDIR "/"
ENTRYPOINT [ "/screego" ]
CMD ["serve"]
+1 -1
View File
@@ -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.