Skip to content

Commit

Permalink
Add new dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya committed Dec 17, 2024
1 parent 8bdaa38 commit 405dee3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Stormshield/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 405dee3

Please sign in to comment.