alkator/Dockerfile
Martin Quarda c1afe21457 fix addres
2024-10-24 17:11:27 +02:00

9 lines
446 B
Docker

FROM greyltc/archlinux-aur:yay
WORKDIR /alkator
COPY . .
RUN pacman -Syu python python-weasyprint python-dateutil python-django npm python-requests --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"]