Skip to content

Commit 4a225b7

Browse files
committed
Make Some Changes: swagger, logger, actions
1 parent 0a0afda commit 4a225b7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/build-and-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
uses: docker/build-push-action@v5
4848
with:
4949
context: .
50+
target: prod
5051
push: true
5152
tags: ${{ steps.meta.outputs.tags }}
5253
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,5 @@ USER appuser
7979
# Expose port
8080
EXPOSE 8080
8181

82-
# Health check
83-
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
84-
CMD wget --quiet --tries=1 --spider http://localhost:8080/health || exit 1
85-
8682
# Run the application
8783
CMD ["./server", "serve-rest"]

0 commit comments

Comments
 (0)