mirror of
https://github.com/karl0ss/MiGenieHASS.git
synced 2025-04-28 12:33:40 +01:00
13 lines
262 B
Plaintext
13 lines
262 B
Plaintext
FROM python:3.8-slim
|
|
RUN mkdir /app
|
|
COPY /app /app
|
|
COPY pyproject.toml /app
|
|
WORKDIR /app
|
|
ENV PYTHONPATH=${PYTHONPATH}:${PWD}
|
|
RUN pip3 install poetry
|
|
RUN poetry config virtualenvs.create false
|
|
RUN poetry install --no-dev --no-root
|
|
CMD [ "python", "main.py"]
|
|
|
|
|