We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a0afda commit 4a225b7Copy full SHA for 4a225b7
.github/workflows/build-and-push.yml
@@ -47,6 +47,7 @@ jobs:
47
uses: docker/build-push-action@v5
48
with:
49
context: .
50
+ target: prod
51
push: true
52
tags: ${{ steps.meta.outputs.tags }}
53
labels: ${{ steps.meta.outputs.labels }}
Dockerfile
@@ -79,9 +79,5 @@ USER appuser
79
# Expose port
80
EXPOSE 8080
81
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
-
86
# Run the application
87
CMD ["./server", "serve-rest"]
0 commit comments