diff --git a/Dockerfile b/Dockerfile index 3313af6..49d6174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y ca-certificates tzdata curl && rm -rf / RUN groupadd -r appuser && useradd -r -g appuser appuser COPY --from=build /out/app /app ENV TZ=Asia/Jakarta -EXPOSE 3300 +EXPOSE 4000 HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD curl -fsS http://localhost:3300/health || exit 1 USER appuser diff --git a/deployment.sh b/deployment.sh index 0ef1022..5530966 100644 --- a/deployment.sh +++ b/deployment.sh @@ -2,7 +2,7 @@ set -euo pipefail APP_NAME="apskel-pos" -PORT="3300" +PORT="4000" echo "🔄 Pulling latest code..." git pull