lxconsole/Dockerfile

18 lines
365 B
Docker
Raw Normal View History

2023-05-04 09:33:42 +00:00
FROM python:3.10.6
RUN mkdir -p /opt/lxconsole
2023-10-07 23:30:17 +00:00
COPY requirements.txt /opt/lxconsole/requirements.txt
2023-05-04 09:33:42 +00:00
RUN pip install --upgrade pip
RUN pip3 install -r /opt/lxconsole/requirements.txt
2023-10-07 23:30:17 +00:00
ADD lxconsole /opt/lxconsole/lxconsole
COPY run.py /opt/lxconsole/run.py
2023-05-04 09:33:42 +00:00
RUN apt update
RUN apt install sqlite3
WORKDIR /opt/lxconsole
ENTRYPOINT [ "python3" ]
CMD [ "run.py" ]