alkator/Dockerfile
2024-10-24 17:08:46 +02:00

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