pip in Dockerfile
This commit is contained in:
parent
754d2d7c2b
commit
ba4ed4de37
@ -1,7 +1,7 @@
|
|||||||
FROM greyltc/archlinux-aur:yay
|
FROM greyltc/archlinux-aur:yay
|
||||||
WORKDIR /alkator
|
WORKDIR /alkator
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pacman -Syu python python-weasyprint python-dateutil python-django npm python-requests --noconfirm
|
RUN pacman -Syu python python-weasyprint python-dateutil python-django npm python-requests python-pip --noconfirm
|
||||||
RUN sudo -u ab -D~ bash -c 'yay -Syu --removemake --needed --noprogressbar --noconfirm python-daphne'
|
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 cd frontend && npm install && npm run build && rm -rf node_modules && cd ..
|
||||||
RUN pip install django_prometheus --break-system-packages
|
RUN pip install django_prometheus --break-system-packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user