fix: have uvicorn use Settings.port and Settings.host

This commit is contained in:
cătălin 2025-03-06 19:44:44 +01:00
commit 95101a6573
No known key found for this signature in database
8 changed files with 28 additions and 7 deletions

View file

@ -16,7 +16,7 @@ ENV PYTHONPATH="$APP_PATH"
ENV PATH="$APP_HOME/.local/bin:$PATH"
# hadolint ignore=DL3001,DL3008,DL3018
RUN apk add --no-cache make python3~=3.12 \
RUN apk add --no-cache make python3~=3.12 curl \
&& adduser -S -u "$USERID" -h "$APP_HOME" "$USERNAME" \
&& mkdir -p "$APP_PATH" \
&& chown -R "$USERID:$GROUPID" "$APP_PATH"
@ -40,6 +40,7 @@ FROM base AS serve
CMD ["make", "serve"]
FROM base AS migrate
CMD ["make", "migrate"]