Add docker

This commit is contained in:
magmaus3 2022-10-30 11:40:49 +01:00
parent 2a0635783a
commit b1a56edc57
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
2 changed files with 17 additions and 0 deletions

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:3.10
WORKDIR /app
COPY . .
RUN pip install .
CMD python3 -c "import iwm_browser.main as main; main.start()"
#CMD python3 iwm_archiver/main.py

7
docker-compose.yml Normal file
View file

@ -0,0 +1,7 @@
services:
main:
ports:
- 7775:7775
build: .
volumes:
- .:/app