diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3466b3f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.compile.nullAnalysis.mode": "automatic" +} \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..e69de29 diff --git a/resource-service-api/dockerfile b/resource-service-api/dockerfile index 6dda683..f77d76a 100644 --- a/resource-service-api/dockerfile +++ b/resource-service-api/dockerfile @@ -1,7 +1,5 @@ FROM openjdk:17-jdk-alpine -# WORKDIR /app -# COPY app/build/lib/* build/lib/ -# COPY app/build/libs/app.jar build/ -# WORKDIR /app/build -# ENTRYPOINT java -jar app.jar -# ENTRYPOINT [ "executable" ] \ No newline at end of file +COPY target/resource-service-api-0.1.jar message-server-1.0.0.jar +ENTRYPOINT ["java","-jar","/message-server-1.0.0.jar"] +# docker image build -t resource-service:latest . +# docker run -p8887:8888 message-server:latest \ No newline at end of file diff --git a/resource-service-api/pom.xml b/resource-service-api/pom.xml index 7ca5e0f..96196b5 100644 --- a/resource-service-api/pom.xml +++ b/resource-service-api/pom.xml @@ -10,9 +10,10 @@ ru.molokoin resource-service-api - 0.0.1-SNAPSHOT + 0.1 resource-service-api - Demo project for Spring Boot + jar + edu-resources 17