sovereign-stack/staging/Dockerfile

18 lines
376 B
Docker
Raw Normal View History

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
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