1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-05-24 14:33:26 +00:00
voice_assistant/src/fastapi_example/Dockerfile
2023-09-16 10:36:39 +01:00

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"]