The author of the original article - https://t.me/Pryslonskyi
All rights belongs to him. Here is only .md adaptation and translation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| bwrap \ | |
| --new-session \ | |
| --unshare-all \ | |
| --share-net \ | |
| --cap-drop ALL \ | |
| --ro-bind /usr /usr \ | |
| --ro-bind /lib /lib \ | |
| --ro-bind /lib64 /lib64 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN ["pip", "install", "-r", "requirements.txt"] | |
| COPY main.py . | |
| CMD ["python3", "main.py"] |
I hereby claim:
- I am Teeed on github.
- I am teeed (https://keybase.io/teeed) on keybase.
- I have a public key whose fingerprint is 5BC2 E80E A520 3B73 7E40 4E18 509E 564C ACFF A342
To claim this, I am signing this object: