Skip to content

Commit

Permalink
ui/build wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Mar 30, 2024
1 parent ba8a2f4 commit 5367b4c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docker/ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
##################################################################################
FROM node:lts-bookworm as node

RUN npm install --global pnpm
RUN git clone --depth 1 https://github.com/lichess-org/lila.git /lila
COPY conf/ci.conf /lila/conf/application.conf
RUN /lila/ui/build --clean --debug --split

##################################################################################
FROM mongo:7-jammy as dbbuilder

Expand All @@ -20,14 +28,10 @@ RUN mongod --fork --logpath /var/log/mongodb/mongod.log --dbpath /seeded \
--tokens

##################################################################################
FROM sbtscala/scala-sbt:eclipse-temurin-jammy-21.0.2_13_1.9.9_3.4.0 as lilabuilder

RUN apt update && apt install -y git
FROM sbtscala/scala-sbt:eclipse-temurin-alpine-21.0.2_13_1.9.9_3.4.1 as lilabuilder

RUN mkdir /lila
COPY --from=node /lila /lila
WORKDIR /lila
RUN git clone --depth 1 https://github.com/lichess-org/lila.git .
COPY conf/ci.conf ./conf/application.conf
RUN ./lila stage

##################################################################################
Expand Down

0 comments on commit 5367b4c

Please sign in to comment.