smaller improvements and inital Docker support

This commit is contained in:
Aborelis 2024-05-15 00:03:38 +02:00
parent b3494b15f6
commit de48bf919a
4 changed files with 41 additions and 13 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM python:3
WORKDIR /asn-gen
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
VOLUME ["/out"]
CMD [ "python", "./asn-gen.py"]
# docker exec -it $(docker run -d --rm debian:unstable bash -c "apt-get update && apt-get upgrade -y && sleep 86400") bash