idk??XD
This commit is contained in:
parent
098564e333
commit
8694374775
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM maven:3-jdk-11 as build
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY OpenRefine OpenRefine
|
||||
WORKDIR /usr/src/app/OpenRefine
|
||||
|
||||
RUN ./refine clean
|
||||
RUN ./refine build
|
||||
|
||||
FROM openjdk:11
|
||||
|
||||
WORKDIR /usr/app
|
||||
COPY --from=build /usr/src/app/OpenRefine .
|
||||
|
||||
VOLUME /data
|
||||
EXPOSE 3333
|
||||
|
||||
ENTRYPOINT ["/usr/app/refine"]
|
||||
CMD ["-i", "0.0.0.0", "-d", "/data", "-m", "3G"]
|
Loading…
Reference in New Issue
Block a user