sovereign-stack/Dockerfile

18 lines
386 B
Docker
Raw Normal View History

FROM ubuntu:22.04
2021-12-25 18:43:01 +00:00
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y wait-for-it dnsutils rsync duplicity sshfs snapd lxd-client
RUN mkdir /sovereign-stack
COPY ./deployment /sovereign-stack
2021-12-25 18:43:01 +00:00
WORKDIR /sovereign-stack
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
CMD /entrypoint.sh