diff --git a/Dockerfile b/Dockerfile index 7d7e588..1925dec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM nginx:latest -RUN apt-get update && apt-get install -y nodejs npm +RUN apt-get update && apt-get install -y nodejs npm netcat-openbsd WORKDIR /app @@ -20,4 +20,6 @@ COPY src/*.css ./public RUN cp /app/build/* ./public +HEALTHCHECK CMD nc -z 127.0.0.1 80 + EXPOSE 80