2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
vinyldns/docker/api/Dockerfile
2018-07-31 14:26:07 -04:00

19 lines
460 B
Docker

FROM openjdk:8u171-jdk-stretch
RUN apt-get update && apt-get install -y netcat-openbsd
# install the jar onto the server, asserts this Dockerfile is copied to target/scala-2.12 after a build
COPY vinyldns.jar /app/vinyldns-server.jar
COPY run.sh /app/run.sh
RUN chmod a+x /app/run.sh
COPY docker.conf /app/docker.conf
EXPOSE 9000
EXPOSE 2551
# set the entry point for the container to start vinyl, specify the config resource
ENTRYPOINT ["/app/run.sh"]