2024-10-18 22:15:37 +02:00
|
|
|
FROM xenon3d/archean-server-alpha
|
|
|
|
|
|
|
|
RUN adduser --disabled-password --home /home/container container
|
|
|
|
|
|
|
|
USER container
|
|
|
|
ENV USER=container HOME=/home/container
|
|
|
|
|
|
|
|
WORKDIR /home/container
|
|
|
|
CMD ["/bin/bash", "/entrypoint.sh"]
|
|
|
|
|
|
|
|
COPY archean_start.sh archean_start.sh
|
|
|
|
COPY server.ini server/server.ini
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
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
|
2024-10-19 00:05:46 +02:00
|
|
|
|
|
|
|
USER container
|