2022-05-20 15:06:41 +00:00
|
|
|
FROM ubuntu:22.04
|
2021-12-25 18:43:01 +00:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2022-07-27 16:38:33 +00:00
|
|
|
RUN apt-get update && apt-get install -y wait-for-it dnsutils rsync sshfs snapd lxd-client
|
2021-12-25 18:43:01 +00:00
|
|
|
|
|
|
|
RUN mkdir /sovereign-stack
|
2022-05-20 15:06:41 +00:00
|
|
|
COPY ./deployment /sovereign-stack
|
2021-12-25 18:43:01 +00:00
|
|
|
WORKDIR /sovereign-stack
|
|
|
|
|
2022-05-20 15:06:41 +00:00
|
|
|
RUN mkdir /domain
|
|
|
|
VOLUME /domain
|
|
|
|
ENV SITE_PATH=/domain
|
2021-12-25 18:43:01 +00:00
|
|
|
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod 0744 /entrypoint.sh
|
|
|
|
|
2022-05-20 15:06:41 +00:00
|
|
|
CMD /entrypoint.sh
|