Browse Source

Create dockerfile

master
ViViV_ 7 years ago
committed by GitHub
parent
commit
b4ddf7b872
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      dockerfile

19
dockerfile

@ -0,0 +1,19 @@
FROM openjdk:8-jdk-alpine
LABEL author="ViViV_" maintainer="sysadmin@whiteshield.ch"
EXPOSE 6567/TCP
EXPOSE 6567/UDP
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite \
&& adduser -D -h /home/container container
ADD . /home/container/
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
Loading…
Cancel
Save