forked from Archives/Athou_commafeed
restore Docker workflow
This commit is contained in:
16
commafeed-server/src/main/docker/Dockerfile.jvm
Normal file
16
commafeed-server/src/main/docker/Dockerfile.jvm
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM ibm-semeru-runtimes:open-21.0.3_9-jre
|
||||
|
||||
EXPOSE 8082
|
||||
|
||||
RUN mkdir -p /commafeed/data
|
||||
VOLUME /commafeed/data
|
||||
|
||||
COPY commafeed-server/target/quarkus-app/ /commafeed/app
|
||||
WORKDIR /commafeed/app
|
||||
|
||||
CMD ["java", \
|
||||
"-Xtune:virtualized", \
|
||||
"-Xminf0.05", \
|
||||
"-Xmaxf0.1", \
|
||||
"-jar", \
|
||||
"quarkus-run.jar"]
|
||||
9
commafeed-server/src/main/docker/Dockerfile.native
Normal file
9
commafeed-server/src/main/docker/Dockerfile.native
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM debian:12.6
|
||||
EXPOSE 8082
|
||||
|
||||
RUN mkdir -p /commafeed/data
|
||||
VOLUME /commafeed/data
|
||||
|
||||
COPY commafeed-server/target/commafeed-*-runner /commafeed/app/application
|
||||
WORKDIR /commafeed/app
|
||||
CMD ["./application"]
|
||||
Reference in New Issue
Block a user