Update Dockerfile

This commit is contained in:
ereti
2021-11-08 12:03:32 +00:00
committed by GitHub
parent 44a6375adf
commit c9f5dd1932
+1 -1
View File
@@ -3,5 +3,5 @@ WORKDIR /app
COPY . /app
RUN apt-get update && rm -rf /var/lib/apt/lists/*
RUN npm install -g pnpm && pnpm i
HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost/api/v1/status || exit 1
HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost:8080/api/v1/status || exit 1
CMD pnpm start