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/
|
||||
EXPOSE 8765
|
||||
VOLUME /data
|
||||
ENV DOSTALGIA_DATA=/data
|
||||
ENV DOSTALGIA_DATA_DIR=/data
|
||||
ENTRYPOINT ["java", "-jar", "quarkus-run.jar"]
|
||||
|
||||
@@ -40,11 +40,7 @@
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-rest-jackson</artifactId>
|
||||
</dependency>
|
||||
<!-- Multipart file upload -->
|
||||
<dependency>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-rest-multipart</artifactId>
|
||||
</dependency>
|
||||
<!-- Multipart support is built into quarkus-rest -->
|
||||
<!-- Serve static files from classpath -->
|
||||
<dependency>
|
||||
<groupId>io.quarkus</groupId>
|
||||
@@ -77,6 +73,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.3.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-frontend</id>
|
||||
|
||||
Reference in New Issue
Block a user