alkator/Dockerfile
Martin Quarda c6aaccda67 fixes
2024-10-24 14:06:30 +02:00

9 lines
412 B
Docker

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", "-p", "8005"]