diff --git a/Dockerfile b/Dockerfile index 63935e8..2134d9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -# For more information, please refer to https://aka.ms/vscode-docker-python FROM python:3.8-slim-buster # Keeps Python from generating .pyc files in the container @@ -14,13 +13,8 @@ RUN python -m pip install -r requirements.txt WORKDIR /app ADD dockstat.py /app -# Switching to a non-root user, please refer to https://aka.ms/vscode-docker-python-user-rights -# RUN useradd appuser && chown -R appuser /app -# USER appuser - EXPOSE 8080 -# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug CMD ["python", "dockstat.py"] HEALTHCHECK --interval=30s --timeout=3s --retries=1 \