FROM greyltc/archlinux-aur:yay WORKDIR /alkator COPY . . RUN pacman -Syu python python-weasyprint python-dateutil python-django npm --noconfirm RUN sudo -u ab -D~ bash -c 'yay -Syu --removemake --needed --noprogressbar --noconfirm python-daphne' RUN cd frontend && npm install && npm run build && rm -rf node_modules && cd .. EXPOSE 8005 CMD ["/usr/bin/daphne", "alkator.asgi:application", "-b", "0.0.0.0", "-p", "8005"]