Simple example of a Dockerfile for Bedrock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN mkdir /opt/bedrock | |
COPY bedrock-server-1.11.2.1 /opt/bedrock | |
RUN apt-get update | |
RUN apt-get install -y libcurl4 | |
ENV LD_LIBRARY_PATH /opt/bedrock | |
VOLUME ["/opt/bedrock"] | |
CMD cd /opt/bedrock && /opt/bedrock/bedrock_server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment