Last active
May 18, 2019 17:52
-
-
Save hoelzro/dca8f0a9352501560ef4dd29410f54b8 to your computer and use it in GitHub Desktop.
Docker file for Sputnik wiki
This file contains hidden or 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 apt-get update && apt-get install -y lua5.1 unzip build-essential luarocks | |
ADD sputnik-galaxy-12-07-12-all-in-one.zip / | |
WORKDIR /tmp | |
RUN unzip /sputnik-galaxy-12-07-12-all-in-one.zip | |
WORKDIR /tmp/sputnik-galaxy-12-07-12-all-in-one | |
RUN ./install.sh --lua-suffix=5.1 --without-readline | |
RUN mkdir -p /var/lib/sputnik/wiki-data | |
WORKDIR /var/lib/sputnik | |
RUN sputnik make-cgi | |
EXPOSE 8080/tcp | |
ENTRYPOINT ["sputnik", "start-xavante"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment