fix(build): create sub-app make_pdf
Some checks failed
Deploy Production Server / if_merged (pull_request) Failing after 18s
Some checks failed
Deploy Production Server / if_merged (pull_request) Failing after 18s
This commit is contained in:
@@ -14,13 +14,16 @@
|
||||
# docker run -i --rm -p 8080:8080 quarkus/ffsaf-site
|
||||
#
|
||||
###
|
||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9
|
||||
# replace FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9 for jvm need sub application (ie. make_pdf)
|
||||
FROM registry.access.redhat.com/ubi8/openjdk-17:1.18
|
||||
|
||||
WORKDIR /work/
|
||||
RUN chown 1001 /work \
|
||||
&& chmod "g+rwX" /work \
|
||||
&& chown 1001:root /work
|
||||
COPY --chown=1001:root target/*-runner /work/application
|
||||
COPY --chown=1001:root src/main/resources/cacerts /work/cacerts
|
||||
COPY --chown=1001:root src/main/pdf_gen/target/pdf_gen-*.jar /work/make_pdf.jar
|
||||
RUN mkdir /work/media && chown -R 1001:root /work/media
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user