Add docker
This commit is contained in:
parent
2a0635783a
commit
b1a56edc57
2 changed files with 17 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
7
docker-compose.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
services:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
- 7775:7775
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
Loading…
Reference in a new issue