mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 14:33:26 +00:00
18 lines
300 B
Docker
18 lines
300 B
Docker
FROM python:3.11
|
|
|
|
RUN apt-get update
|
|
|
|
WORKDIR /opt/app
|
|
|
|
ENV PYTHONPATH '/opt/app'
|
|
|
|
COPY pyproject.toml ./
|
|
COPY poetry.lock ./
|
|
RUN apt-get update \
|
|
&& pip install poetry \
|
|
&& poetry config virtualenvs.create false \
|
|
&& poetry install --no-dev
|
|
|
|
COPY backend .
|
|
|
|
# CMD ["python", "-m", "bin"] |