ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in / |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg2 lsb-release && curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - 2>/dev/null && echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list && apt-get update && apt-get install -y docker-ce-cli # buildkit |
RUN /bin/sh -c LATEST_COMPOSE_VERSION=$(curl -sSL "https://api.github.com/repos/docker/compose/releases/latest" | grep -o -P '(?<="tag_name": ").+(?=")') && curl -sSL "https://github.com/docker/compose/releases/download/${LATEST_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose # buildkit |
COPY /nerdcult_admin_worker/target/release/admin-worker /bin/admin-worker # buildkit |
EXPOSE map[6969/tcp:{}] |
CMD ["/bin/admin-worker"] |