Add port to container
All checks were successful
Build and Push Docker Image / prepare (push) Successful in 1m15s

This commit is contained in:
Florian Hoss 2024-11-08 13:41:54 +01:00
parent 78ed9c3f8c
commit c27660524b
Signed by: flohoss
GPG key ID: 5BA0B454E498DF62
2 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,7 @@ jobs:
org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.licenses=Apache-2.0
org.opencontainers.image.description=Blazing fast start page for your services org.opencontainers.image.description=Blazing fast start page for your services
org.opencontainers.image.vendor=Unjx org.opencontainers.image.vendor=Unjx
org.opencontainers.image.port=4000
- name: Login to Forgejo Container Registry - name: Login to Forgejo Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:

View file

@ -50,6 +50,8 @@ COPY --from=golang /app/godash .
ARG APP_VERSION ARG APP_VERSION
ENV APP_VERSION=$APP_VERSION ENV APP_VERSION=$APP_VERSION
EXPOSE 4000
RUN chown -R appuser:appgroup /app RUN chown -R appuser:appgroup /app
ENTRYPOINT ["dumb-init", "--"] ENTRYPOINT ["dumb-init", "--"]