Compare commits
2 Commits
923479b4cf
...
ae94615095
| Author | SHA1 | Date | |
|---|---|---|---|
| ae94615095 | |||
| c0bb645125 |
@@ -14,10 +14,10 @@ RUN gradle --no-daemon clean installDist
|
|||||||
FROM ${RUNTIME_IMAGE}
|
FROM ${RUNTIME_IMAGE}
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=build /workspace/build/install/kotlin-scripts-host /app/kotlin-scripts-host
|
COPY --from=build /workspace/build/install/slhaf-hub /app/slhaf-hub
|
||||||
RUN mkdir -p /app/scripts
|
RUN mkdir -p /app/scripts
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
ENTRYPOINT ["/app/kotlin-scripts-host/bin/kotlin-scripts-host"]
|
ENTRYPOINT ["/app/slhaf-hub/bin/slhaf-hub"]
|
||||||
CMD ["--host=0.0.0.0", "--port=8080", "--scripts-dir=/app/scripts"]
|
CMD ["--host=0.0.0.0", "--port=8080", "--scripts-dir=/app/scripts"]
|
||||||
|
|||||||
@@ -5,10 +5,6 @@ plugins {
|
|||||||
|
|
||||||
val kotlinVersion = "2.2.20"
|
val kotlinVersion = "2.2.20"
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin("stdlib"))
|
implementation(kotlin("stdlib"))
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,18 @@
|
|||||||
rootProject.name = "slhaf-hub"
|
rootProject.name = "slhaf-hub"
|
||||||
|
|
||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
maven("https://maven.aliyun.com/repository/gradle-plugin")
|
||||||
|
maven("https://maven.aliyun.com/repository/public")
|
||||||
|
gradlePluginPortal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
||||||
|
repositories {
|
||||||
|
maven("https://maven.aliyun.com/repository/public")
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user