From 59a7ca10a9b4cea37bd72365bc3a566376f38c3b Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Tue, 29 Oct 2024 09:48:39 -0700 Subject: [PATCH] Add dockerfile --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4251d88 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM python:3.10-slim + +LABEL vendor=neon.ai \ + ai.neon.name="neon-users-service" + +ENV OVOS_CONFIG_BASE_FOLDER neon +ENV OVOS_CONFIG_FILENAME diana.yaml +ENV XDG_CONFIG_HOME /config +COPY docker_overlay/ / + +RUN apt-get update && \ + apt-get install -y \ + gcc \ + python3 \ + python3-dev \ + && pip install wheel + +ADD . /neon_users_service +WORKDIR /neon_users_service +RUN pip install .[mq] + +CMD ["neon_users_service"] \ No newline at end of file