Implement user-engine portal foundation
This commit is contained in:
parent
60446e8b40
commit
d9d49c9c90
12 changed files with 676 additions and 6 deletions
12
Containerfile
Normal file
12
Containerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM python:3.12-slim@sha256:fd10a15414a5b0a829ebdb78573a84e244fcb3857c5f4c2ec218963440ce9ea2
|
||||
|
||||
RUN useradd --create-home --uid 10001 user-engine
|
||||
WORKDIR /app
|
||||
COPY pyproject.toml README.md /app/
|
||||
COPY src /app/src
|
||||
RUN pip install --no-cache-dir ".[postgres]"
|
||||
|
||||
USER 10001:10001
|
||||
EXPOSE 8080
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
CMD ["python", "-m", "user_engine.runtime"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue