1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-12-17 04:26:18 +00:00

Basic Docker files

This commit is contained in:
Artem Litvinov
2023-09-16 10:36:39 +01:00
parent 848e7f059f
commit 4ee32cfb3f
7 changed files with 112 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
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"]