Compare commits

...

6 Commits

Author SHA1 Message Date
26c11dcbbe
merge 2024-10-24 16:59:45 +02:00
0948ae3291
added bind parameter to daphne so it should listen on 0.0.0.0 2024-10-24 16:59:19 +02:00
9d8b7538ab
changed image source 2024-10-24 16:36:36 +02:00
fecf26bc5f
fx 2024-10-24 16:35:20 +02:00
af3606da16
merge 2024-10-24 16:34:18 +02:00
ba0e125a13
added build and push scripts 2024-10-24 16:11:15 +02:00
4 changed files with 5 additions and 3 deletions

View File

@ -5,4 +5,4 @@ RUN pacman -Syu python python-weasyprint python-dateutil python-django npm --noc
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"]
CMD ["/usr/bin/daphne", "alkator.asgi:application", "-b", "0.0.0.0", "-p", "8005"]

0
build.sh Normal file → Executable file
View File

2
push.sh Normal file → Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker push gitea.angoosh.com/meiri/alkator/api:latest