File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ RUN apt-get update && apt-get install -y libxrender1 libxtst6 libxi6
5
5
WORKDIR /app
6
6
ADD . /app
7
7
8
- ENV HEADLESS=false
8
+ ENV HEADLESS=true
9
9
10
10
ENTRYPOINT sbt -Djava.awt.headless=$HEADLESS run
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ Then you can run the game by executing the following command:
37
37
docker run -it set-game-scala
38
38
```
39
39
40
- On macOS , you need to run the following command instead to disable the GUI as macOS does not support X11 :
40
+ On Linux , you can run the following command instead to enable the GUI:
41
41
42
42
``` bash
43
- docker run -it -e HEADLESS=true set-game-scala
43
+ docker run -it -e HEADLESS=false -e DISPLAY= $DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix set-game-scala
44
44
```
45
45
46
46
## License
You can’t perform that action at this time.
0 commit comments