Skip to content

Commit

Permalink
Womp womp
Browse files Browse the repository at this point in the history
  • Loading branch information
Willdotwhite committed Sep 6, 2024
1 parent f56dd96 commit 59ce6d7
Show file tree
Hide file tree
Showing 68 changed files with 410 additions and 1,502 deletions.
10 changes: 5 additions & 5 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ RUN ./gradlew build -x test


## Production build image ##
FROM alpine:latest AS team-finder
FROM alpine:latest AS gmtk-voting-system

ENV JAVA_HOME=/jre
ENV PATH="${JAVA_HOME}/bin:${PATH}"

COPY --from=builder /customjre $JAVA_HOME

# The files/folders are the fully-qualified app name (com.gmtkgamejam.api-x.y.z) - shorten here for ease of use
COPY --from=builder /opt/code/build/distributions/com.gmtkgamejam.api*.zip ./api.zip
# The files/folders are the fully-qualified app name (com.gmtkvotingsystem.api-x.y.z) - shorten here for ease of use
COPY --from=builder /opt/code/build/distributions/com.gmtkvotingsystem.api*.zip ./api.zip

# Extract distribution
RUN unzip api.zip && mv com.gmtkgamejam* api
RUN unzip api.zip && mv com.gmtkvotingsystem* api

EXPOSE 8080

# Start application from /bin/bash script
CMD ["./api/bin/com.gmtkgamejam.api"]
CMD ["./api/bin/com.gmtkvotingsystem.api"]
6 changes: 3 additions & 3 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ plugins {
kotlin("plugin.serialization") version "1.9.22"
}

group = "com.gmtkgamejam"
version = "1.0.1"
group = "com.gmtkvotingsystem"
version = "1.0.0"

application {
mainClass.set("com.gmtkgamejam.ApplicationKt")
mainClass.set("com.gmtkvotingsystem.ApplicationKt")
}

repositories {
Expand Down
52 changes: 0 additions & 52 deletions api/src/main/kotlin/com/gmtkgamejam/bot/BotMessageBuilder.kt

This file was deleted.

19 changes: 0 additions & 19 deletions api/src/main/kotlin/com/gmtkgamejam/discord/HttpClient.kt

This file was deleted.

28 changes: 0 additions & 28 deletions api/src/main/kotlin/com/gmtkgamejam/discord/RefreshToken.kt

This file was deleted.

17 changes: 0 additions & 17 deletions api/src/main/kotlin/com/gmtkgamejam/koin/DatabaseModule.kt

This file was deleted.

10 changes: 0 additions & 10 deletions api/src/main/kotlin/com/gmtkgamejam/koin/DiscordBotModule.kt

This file was deleted.

11 changes: 0 additions & 11 deletions api/src/main/kotlin/com/gmtkgamejam/models/admin/BannedUser.kt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions api/src/main/kotlin/com/gmtkgamejam/models/posts/Availability.kt

This file was deleted.

This file was deleted.

69 changes: 0 additions & 69 deletions api/src/main/kotlin/com/gmtkgamejam/models/posts/PostItem.kt

This file was deleted.

17 changes: 0 additions & 17 deletions api/src/main/kotlin/com/gmtkgamejam/models/posts/Skills.kt

This file was deleted.

19 changes: 0 additions & 19 deletions api/src/main/kotlin/com/gmtkgamejam/models/posts/Tools.kt

This file was deleted.

Loading

0 comments on commit 59ce6d7

Please sign in to comment.