Gitea Workflow ordnerstruktur geändert
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 8s
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 8s
This commit is contained in:
@@ -5,14 +5,14 @@ RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omd
|
|||||||
&& cd /tmp/lib/OMDSServiceDefinition \
|
&& cd /tmp/lib/OMDSServiceDefinition \
|
||||||
&& mvn clean install -DskipTests
|
&& mvn clean install -DskipTests
|
||||||
|
|
||||||
COPY src ./src
|
COPY server-app/src ./src
|
||||||
COPY . .
|
COPY server-app .
|
||||||
|
|
||||||
RUN mvn clean package -DskipTests
|
RUN mvn clean package -DskipTests
|
||||||
|
|
||||||
FROM eclipse-temurin:21-jre-alpine
|
FROM eclipse-temurin:21-jre-alpine
|
||||||
WORKDIR /productdefinitions
|
WORKDIR /productdefinitions
|
||||||
COPY --from=build /productdefinitions/target/*.jar productdefinitions.jar
|
COPY --from=build /productdefinitions/server-app/target/*.jar productdefinitions.jar
|
||||||
|
|
||||||
EXPOSE 9080
|
EXPOSE 9080
|
||||||
ENTRYPOINT ["java", "-jar", "productdefinitions.jar"]
|
ENTRYPOINT ["java", "-jar", "productdefinitions.jar"]
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
productdefinitions-service:
|
productdefinitions-service:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: server-app
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: productdefinitions_development_container
|
container_name: productdefinitions_development_container
|
||||||
ports:
|
ports:
|
||||||
Reference in New Issue
Block a user