-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from PascalHonegger/fix-argon2
feat(backend): switch to library version of argon2
- Loading branch information
Showing
9 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
FROM node:22-alpine AS buildFrontend | ||
FROM node:22-alpine AS build_frontend | ||
RUN corepack enable | ||
COPY ./Frontend /home/node/src | ||
WORKDIR /home/node/src | ||
RUN pnpm i --frozen-lockfile | ||
RUN pnpm build | ||
RUN pnpm build --outDir ./dist | ||
|
||
FROM eclipse-temurin:23-jdk-alpine AS buildBackend | ||
FROM eclipse-temurin:23-jdk-alpine AS build_backend | ||
COPY . /home/gradle/src | ||
COPY --from=buildFrontend /home/node/src/dist /home/gradle/src/Backend/bootstrap/src/main/resources/static | ||
COPY --from=build_frontend /home/node/src/dist /home/gradle/src/Backend/bootstrap/src/main/resources/static | ||
WORKDIR /home/gradle/src | ||
RUN ./gradlew shadowJar --no-daemon | ||
|
||
FROM eclipse-temurin:23-jre-alpine | ||
RUN apk add --no-cache argon2-libs | ||
EXPOSE 8080:8080 | ||
RUN mkdir /app | ||
COPY --from=buildBackend /home/gradle/src/Backend/bootstrap/build/libs/*.jar /app/jasstracker.jar | ||
COPY --from=build_backend /home/gradle/src/Backend/bootstrap/build/libs/*.jar /app/jasstracker.jar | ||
ENTRYPOINT ["java","-jar","/app/jasstracker.jar"] |
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
Binary file not shown.
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