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
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
constraints: [node.hostname == sh-gismo]
|
||||
resources:
|
||||
reservations:
|
||||
cpus: "0.1"
|
||||
memory: 20M
|
||||
limits:
|
||||
cpus: "4.0"
|
||||
memory: 4096M
|
||||
|
@ -21,7 +21,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l
|
||||
make -j $(nproc) && \
|
||||
sudo make altinstall && \
|
||||
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
|
||||
RUN sudo apt -y install nodejs
|
||||
|
Loading…
Reference in New Issue
Block a user