-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,634 changed files
with
90,137 additions
and
46,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM node:12 as builder-frontend | ||
WORKDIR /root/workdir | ||
COPY ./frontend/src/main/javascript . | ||
RUN npm ci | ||
RUN npm run build | ||
|
||
FROM maven:3 as builder-backend | ||
WORKDIR /root/workdir | ||
COPY . . | ||
COPY --from=builder-frontend /root/workdir/dist ./frontend/target/classes | ||
RUN mvn install package -P !build-frontend | ||
|
||
FROM debian as builder-ltsmin | ||
WORKDIR /root/workdir | ||
RUN apt-get update -qq && apt-get upgrade -qq && apt-get install -qq wget | ||
RUN wget http://github.com/utwente-fmt/ltsmin/releases/download/v3.0.2/ltsmin-v3.0.2-linux.tgz | ||
RUN tar -xzf ltsmin-v3.0.2-linux.tgz | ||
RUN mv v3.0.2 ltsmin | ||
|
||
FROM openjdk:12 | ||
COPY --from=builder-backend /root/workdir/build/target/alex-2.0.0.war /usr/share/java/alex/alex.war | ||
COPY --from=builder-ltsmin /root/workdir/ltsmin /opt/ltsmin | ||
WORKDIR /var/lib/alex | ||
EXPOSE 8000 | ||
CMD java -jar /usr/share/java/alex/alex.war --ltsmin.path=/opt/ltsmin/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.