ADD rootfs.tar.xz / # buildkit |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c mkdir /app # buildkit |
WORKDIR /app |
COPY /usr/local/cargo/bin/ewp /app/ewp # buildkit |
COPY /usr/src/ewp/LICENSE /app/LICENSE # buildkit |
COPY /usr/src/ewp/README.md /app/README.md # buildkit |
COPY /usr/src/ewp/static /app/static # buildkit |
COPY /usr/src/ewp/templates /app/templates # buildkit |
RUN /bin/sh -c mkdir /app/config && touch /app/config/config.toml # buildkit |
CMD ["./ewp"] |