File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /.bsp /
2+ /.idea /
3+ /project /project /
4+ /project /target /
5+
6+ /devenv
7+ /devenv.ps1
8+ /docker-compose.yml
9+ /* .dockerfile
10+
11+ * /target /
Original file line number Diff line number Diff line change 1- FROM hseeberger/scala-sbt:11.0.8_1.4.0_2.13.3
1+ FROM hseeberger/scala-sbt:11.0.8_1.4.0_2.13.3 as build
22
33WORKDIR /loglist
44COPY . .
@@ -7,13 +7,15 @@ RUN mkdir /opt/loglist
77RUN cp scalajvm/target/universal/scalajvm*zip /opt/loglist
88
99WORKDIR /opt/loglist
10- # Steps below mirror our scripts/start.sh
1110RUN unzip *.zip
1211RUN mv scalajvm-*/* .
1312RUN rm -rf scalajvm-*
14- # Steps below mirror our docs/loglist.service
15- # We don't set `-Dhttp.address=127.0.0.1` because we want the service to be
16- # accessible from outside.
17- ENTRYPOINT /opt/loglist/bin/scalajvm -Dhttp.port=9000 -Dpidfile.path=/dev/null
13+
14+ FROM openjdk:11.0.9-jre
15+
16+ WORKDIR /app
17+ COPY --from=build /opt/loglist .
18+
19+ ENTRYPOINT /app/bin/scalajvm -Dhttp.port=9000 -Dpidfile.path=/dev/null
1820
1921EXPOSE 9000/tcp
You can’t perform that action at this time.
0 commit comments