FROM xenon3d/archean-server-alpha RUN rm -f /home/container RUN adduser --disabled-password --home /home/container container WORKDIR /home/container RUN ln -s /Archean-data/ /home/container/data RUN ln -s /Archean-server-alpha/ /home/container/bin COPY archean_start.sh archean_start.sh COPY server.ini data/server/server.ini COPY entrypoint.sh /entrypoint.sh RUN chown -R container:container /home/container/ RUN chown -R container:container /Archean-data/ RUN chown -R container:container /Archean-server-alpha/ RUN chmod -R 755 /home/container RUN chmod -R 755 /Archean-data RUN chmod -R 755 /Archean-server-alpha USER container ENV USER=container HOME=/home/container CMD ["/bin/bash", "/entrypoint.sh"]