18 lines
No EOL
365 B
Docker
18 lines
No EOL
365 B
Docker
FROM python:3.10.6
|
|
|
|
RUN mkdir -p /opt/lxconsole
|
|
|
|
COPY requirements.txt /opt/lxconsole/requirements.txt
|
|
RUN pip install --upgrade pip
|
|
RUN pip3 install -r /opt/lxconsole/requirements.txt
|
|
|
|
ADD lxconsole /opt/lxconsole/lxconsole
|
|
COPY run.py /opt/lxconsole/run.py
|
|
|
|
RUN apt update
|
|
RUN apt install sqlite3
|
|
|
|
WORKDIR /opt/lxconsole
|
|
|
|
ENTRYPOINT [ "python3" ]
|
|
CMD [ "run.py" ] |