Files
luxmed-bot/docker/Dockerfile

13 lines
399 B
Docker

FROM eclipse-temurin:11-jre-focal
RUN apt-get update --allow-unauthenticated --allow-insecure-repositories -y && apt-get install --allow-unauthenticated -y netcat # nc command
RUN ln -fs /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata
RUN mkdir -p /app
ADD server.jar /app
ADD run.sh run.sh
ADD version /app/version
RUN chmod +x run.sh
CMD ./run.sh