Add port to container
All checks were successful
Build and Push Docker Image / prepare (push) Successful in 1m15s
All checks were successful
Build and Push Docker Image / prepare (push) Successful in 1m15s
This commit is contained in:
parent
78ed9c3f8c
commit
c27660524b
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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", "--"]
|
||||
|
|
Loading…
Reference in a new issue