forked from LiveCarta/BookConverter
add converter local launch
This commit is contained in:
18
DockerfileLocal
Normal file
18
DockerfileLocal
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.11.0
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y software-properties-common
|
||||
|
||||
RUN add-apt-repository -r ppa:libreoffice/ppa
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install libreoffice
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install -r /app/requirements.txt
|
||||
RUN pip install debugpy
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
CMD tail -f > /dev/null
|
||||
|
||||
#python3 -m debugpy --listen 0.0.0.0:5678 --wait-for-client test.py
|
||||
Reference in New Issue
Block a user