diff --git a/.forgejo/workflows/build_deploy.yaml b/.forgejo/workflows/build_deploy.yaml index 8c70edd..9701d3f 100644 --- a/.forgejo/workflows/build_deploy.yaml +++ b/.forgejo/workflows/build_deploy.yaml @@ -24,6 +24,7 @@ jobs: org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.description=Blazing fast start page for your services org.opencontainers.image.vendor=Unjx + org.opencontainers.image.port=4000 - name: Login to Forgejo Container Registry uses: docker/login-action@v3 with: diff --git a/Dockerfile b/Dockerfile index f959dcb..fbe89ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,6 +50,8 @@ COPY --from=golang /app/godash . ARG APP_VERSION ENV APP_VERSION=$APP_VERSION +EXPOSE 4000 + RUN chown -R appuser:appgroup /app ENTRYPOINT ["dumb-init", "--"]