From 7b1bfb8cdef7984359ccb1ecd1d92ab3b190bdb4 Mon Sep 17 00:00:00 2001 From: SantioMC Date: Wed, 11 Dec 2024 01:24:59 -0500 Subject: [PATCH] fix: github action --- .dockerignore | 43 +++++++++++++++++++++++++++++++++++++++++++ Dockerfile | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..964a35f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,43 @@ +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store + +### Bot Specific ### +*.db +data/ diff --git a/Dockerfile b/Dockerfile index 35de896..25edbbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app FROM base AS build COPY . . -RUN gradle shadowJar --no-daemon +RUN gradle openApiGenerate shadowJar --no-daemon FROM base AS runtime COPY --from=build /app/build/libs/*.jar app.jar