Implement user-engine portal foundation
This commit is contained in:
parent
60446e8b40
commit
0980d1fd41
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:d764629ce0ddd8c71fd371e9901efb324a95789d2315a47db7e4d27e78f1b0e9
|
||||
|
||||
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