Skip to content

Commit

Permalink
Run lila-fishnet v3
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Nov 22, 2023
1 parent 3ac8bff commit 2bb5e05
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions docker/lila-fishnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
FROM sbtscala/scala-sbt:eclipse-temurin-jammy-21.0.1_12_1.9.7_3.3.1

RUN git clone -b fix/pub-sub https://github.com/lenguyenthanh/rediculous.git && \
cd rediculous && \
sbt +publishLocal

WORKDIR /lila-fishnet

ENTRYPOINT sbt stage && \
./target/universal/stage/bin/lila-fishnet \
-Dhttp.port=9665 \
-Dpidfile.path=/dev/null \
-Dredis.uri="redis://redis"
ENTRYPOINT git checkout . && \
LOCAL_VERSION=$(ls /root/.ivy2/local/io.chrisdavenport/rediculous_3) && \
sed -i 's/rediculous.*/rediculous" % "'$LOCAL_VERSION'"/' project/Dependencies.scala && \
echo "REDIS_HOST=redis" > .env && \
echo "REDIS_PORT=6379" >> .env && \
echo "HTTP_SERVER_HOST=0.0.0.0" >> .env && \
echo "HTTP_SERVER_PORT=9665" >> .env && \
sbt app/run

0 comments on commit 2bb5e05

Please sign in to comment.