Skip to content

Commit

Permalink
Merge Remove obsolete health check #296
Browse files Browse the repository at this point in the history
  • Loading branch information
danjov authored Oct 6, 2022
2 parents 188c0dd + 41e744a commit 177386f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ ENV TZ=Europe/Zurich
ENV ASPNETCORE_ENVIRONMENT=Production
WORKDIR ${HOME}

# Install required packages
RUN \
DEBIAN_FRONTEND=noninteractive && \
mkdir -p /usr/share/man/man1 /usr/share/man/man2 && \
apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*

EXPOSE 80

# Set default locale
Expand All @@ -56,6 +48,4 @@ ENV LC_ALL=C.UTF-8

COPY --from=build /app/publish $HOME

HEALTHCHECK CMD curl --fail http://localhost/ || exit 1

ENTRYPOINT ["dotnet", "EWS.dll"]

0 comments on commit 177386f

Please sign in to comment.