fix: bind backend container to port 8080
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@ LABEL org.opencontainers.image.title="JiZhi Backend" \
|
||||
org.opencontainers.image.source="https://gitea.nxsir.cn/nanxun/jizhi"
|
||||
WORKDIR /app
|
||||
COPY --from=api-build --chown=$APP_UID:$APP_UID /app/publish/ ./
|
||||
ENV ASPNETCORE_HTTP_PORTS=8080 \
|
||||
ENV ASPNETCORE_URLS=http://0.0.0.0:8080 \
|
||||
ASPNETCORE_HTTP_PORTS=8080 \
|
||||
DOTNET_EnableDiagnostics=0
|
||||
USER $APP_UID
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user