RandomSec/OpenRefine/Dockerfile

20 lines
327 B
Docker
Raw Normal View History

2022-01-30 23:08:52 +01:00
FROM maven:3-jdk-11 as build
WORKDIR /usr/src/app
2022-01-31 00:37:47 +01:00
COPY . OpenRefine
2022-01-30 23:08:52 +01:00
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"]