Skip to content

Commit

Permalink
copy assets to where play framework sees as public root
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Mar 31, 2024
1 parent 5367b4c commit 1108ccb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/ci.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ include "version"

user.password.bpass.secret = "9qEYN0ThHer1KWLNekA76Q=="

net.site.name = "lila"
net.ratelimit = false
1 change: 1 addition & 0 deletions docker/ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ COPY --from=dbbuilder /jdk-21 /jdk-21
COPY --from=lilabuilder /lila/target /lila/target
COPY --from=lilabuilder /lila/public /lila/public
COPY --from=lilabuilder /lila/conf /lila/conf
COPY --from=node /lila/public /lila/target/universal/stage/public

ENV JAVA_HOME=/jdk-21
ENV PATH=/jdk-21/bin:$PATH
Expand Down
10 changes: 9 additions & 1 deletion docs/ci-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@

```bash
docker build -t lila-ci -f docker/ci.Dockerfile .
docker run -it --rm -p 9663:9663 lila-ci
docker run -it --rm -p 9663:9663 --name lichess lila-ci
```

Visit: <http://localhost:9663/>

```bash
curl localhost:9663/api/user/lichess
```

### Get a shell in the container for debugging:

```bash
docker exec -it lichess bash
```

0 comments on commit 1108ccb

Please sign in to comment.