diff --git a/Stormshield/Dockerfile b/Stormshield/Dockerfile new file mode 100644 index 000000000..411dd17fa --- /dev/null +++ b/Stormshield/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.11 + +WORKDIR /app + +RUN pip install poetry + +# Install dependencies +COPY poetry.lock pyproject.toml /app/ +RUN poetry config virtualenvs.create false && poetry install --no-dev + +COPY . . + +RUN useradd -ms /bin/bash sekoiaio-runtime +USER sekoiaio-runtime + +ENTRYPOINT [ "python", "./main.py" ]