Improved docker
All checks were successful
Deploy on push / on-push-deploy_sh-edraft (push) Successful in 8m50s
All checks were successful
Deploy on push / on-push-deploy_sh-edraft (push) Successful in 8m50s
This commit is contained in:
parent
7634e4f9f5
commit
dbd4611bac
@ -13,11 +13,8 @@ services:
|
|||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.role == manager]
|
constraints: [node.hostname == sh-gismo]
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
|
||||||
cpus: "0.1"
|
|
||||||
memory: 20M
|
|
||||||
limits:
|
limits:
|
||||||
cpus: "4.0"
|
cpus: "4.0"
|
||||||
memory: 4096M
|
memory: 4096M
|
||||||
|
@ -21,7 +21,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
|
|||||||
make -j $(nproc) && \
|
make -j $(nproc) && \
|
||||||
sudo make altinstall && \
|
sudo make altinstall && \
|
||||||
python3.10 -m pip install --user --upgrade pip && \
|
python3.10 -m pip install --user --upgrade pip && \
|
||||||
cd ../ && sudo rm -rf Python-3.10.*/
|
cd ../ && sudo rm -rf Python-3.10.*/ && sudo rm Python-3.10.*.tgz
|
||||||
|
|
||||||
# install node
|
# install node
|
||||||
RUN sudo apt -y install nodejs
|
RUN sudo apt -y install nodejs
|
||||||
|
Loading…
Reference in New Issue
Block a user