Fix pom.xml: remove quarkus-rest-multipart (built into quarkus-rest), add maven-resources-plugin version; fix Dockerfile: DOSTALGIA_DATA -> DOSTALGIA_DATA_DIR
This commit is contained in:
+1
-1
@@ -24,5 +24,5 @@ WORKDIR /app
|
|||||||
COPY --from=build /build/target/quarkus-app/ /app/
|
COPY --from=build /build/target/quarkus-app/ /app/
|
||||||
EXPOSE 8765
|
EXPOSE 8765
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
ENV DOSTALGIA_DATA=/data
|
ENV DOSTALGIA_DATA_DIR=/data
|
||||||
ENTRYPOINT ["java", "-jar", "quarkus-run.jar"]
|
ENTRYPOINT ["java", "-jar", "quarkus-run.jar"]
|
||||||
|
|||||||
@@ -40,11 +40,7 @@
|
|||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
<artifactId>quarkus-rest-jackson</artifactId>
|
<artifactId>quarkus-rest-jackson</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Multipart file upload -->
|
<!-- Multipart support is built into quarkus-rest -->
|
||||||
<dependency>
|
|
||||||
<groupId>io.quarkus</groupId>
|
|
||||||
<artifactId>quarkus-rest-multipart</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<!-- Serve static files from classpath -->
|
<!-- Serve static files from classpath -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
@@ -77,6 +73,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>3.3.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-frontend</id>
|
<id>copy-frontend</id>
|
||||||
|
|||||||
Reference in New Issue
Block a user