This commit is contained in:
Efril 2026-04-26 23:25:54 +07:00
parent 0aa280462c
commit 1a5ddd2b34
2 changed files with 2 additions and 2 deletions

View File

@ -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 RUN groupadd -r appuser && useradd -r -g appuser appuser
COPY --from=build /out/app /app COPY --from=build /out/app /app
ENV TZ=Asia/Jakarta ENV TZ=Asia/Jakarta
EXPOSE 3300 EXPOSE 4000
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -fsS http://localhost:3300/health || exit 1 CMD curl -fsS http://localhost:3300/health || exit 1
USER appuser USER appuser

View File

@ -2,7 +2,7 @@
set -euo pipefail set -euo pipefail
APP_NAME="apskel-pos" APP_NAME="apskel-pos"
PORT="3300" PORT="4000"
echo "🔄 Pulling latest code..." echo "🔄 Pulling latest code..."
git pull git pull