diff --git a/Dockerfile b/Dockerfile index 6cef03f..c101e37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM greyltc/archlinux-aur:yay WORKDIR /alkator -COPY . . -RUN pacman -Syu python python-weasyprint python-dateutil python-django npm python-requests python-pip --noconfirm +COPY alkator alkator +COPY alkatorapi alkatorapi +RUN pacman -Syu python python-weasyprint python-dateutil python-django python-requests python-pip --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 .. RUN pip install django_prometheus --break-system-packages EXPOSE 8005 CMD ["/usr/bin/daphne", "alkator.asgi:application", "-b", "0.0.0.0", "-p", "8005"] diff --git a/push.sh b/push.sh index e69de29..2da583d 100644 --- a/push.sh +++ b/push.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker push gitea.angoosh.com/meiri/alkator/api:latest \ No newline at end of file