@devkong/cli-nx 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generators/preset/files/kotlin/Dockerfile +1 -1
- package/src/generators/preset/files/kotlin/build.gradle.kts.template +2 -2
- package/src/generators/preset/files/kotlin/kong.json +1 -2
- package/src/generators/preset/files/python/Dockerfile +2 -2
- package/src/generators/preset/files/python/kong.json +1 -2
- package/src/generators/preset/files/python/requirements.txt +1 -2
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ COPY --chown=quarkus:quarkus .editorconfig /code/
|
|
|
11
11
|
USER quarkus
|
|
12
12
|
WORKDIR /code
|
|
13
13
|
COPY src /code/src
|
|
14
|
-
RUN ./gradlew build -Dquarkus.package.main-class=io.kong.sdkkotlin.
|
|
14
|
+
RUN ./gradlew build -Dquarkus.package.main-class=io.kong.sdkkotlin.QuarkusApp -Dquarkus.native.enabled=true -Dquarkus.profile=prod -Dquarkus.package.jar.enabled=false
|
|
15
15
|
|
|
16
16
|
## Stage 2 : create the docker final image
|
|
17
17
|
FROM quay.io/quarkus/quarkus-micro-image:2.0
|
|
@@ -20,8 +20,8 @@ repositories {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
dependencies {
|
|
23
|
-
implementation("io.kong:kong-common:0.0.
|
|
24
|
-
implementation("io.kong:kong-sdk-kotlin:0.0.
|
|
23
|
+
implementation("io.kong:kong-common:0.0.7-SNAPSHOT")
|
|
24
|
+
implementation("io.kong:kong-sdk-kotlin:0.0.31-SNAPSHOT")
|
|
25
25
|
|
|
26
26
|
implementation(enforcedPlatform("io.quarkus.platform:quarkus-bom:$quarkusVersion"))
|
|
27
27
|
implementation("io.quarkus:quarkus-arc")
|
|
@@ -4,8 +4,8 @@ FROM --platform=linux/amd64 python:3.13.1-slim-bullseye
|
|
|
4
4
|
|
|
5
5
|
ENV APP_DIR=/deployments/app
|
|
6
6
|
|
|
7
|
-
COPY ./requirements.txt $APP_DIR/requirements.txt
|
|
8
|
-
RUN pip install -r $APP_DIR/requirements.txt
|
|
7
|
+
COPY ./requirements-lock.txt $APP_DIR/requirements-lock.txt
|
|
8
|
+
RUN pip install -r $APP_DIR/requirements-lock.txt
|
|
9
9
|
|
|
10
10
|
COPY ./src $APP_DIR/src
|
|
11
11
|
WORKDIR $APP_DIR
|