ready for version 0.2
This commit is contained in:
parent
3a79036ec4
commit
4bebbb27e4
9 changed files with 157 additions and 37 deletions
|
@ -1,9 +1,7 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
# Shell explizit setzen
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# Datenbankordner erstellen und Berechtigungen setzen
|
||||
RUN mkdir -p /app/data && chmod -R a+rwX /app/data
|
||||
|
||||
WORKDIR /app
|
||||
|
@ -14,7 +12,6 @@ COPY . .
|
|||
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
RUN groupadd -g $GID appuser && useradd -u $UID -g $GID -m appuser && chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue