From 2c872694d41be149ed0fef9e6e03534ab257aa66 Mon Sep 17 00:00:00 2001 From: Lukas Prettenthaler Date: Wed, 20 Sep 2023 21:29:16 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index aef1a5b..ddaa1c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ FROM python:3.9-slim -# Superset version ARG SUPERSET_VERSION=3.0.0 LABEL maintainer "NoEnv" LABEL version "${SUPERSET_VERSION}" LABEL description "Superset Docker Image" -# Configure environment ENV LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ PYTHONPATH=/etc/superset:/home/superset:$PYTHONPATH \ @@ -15,7 +13,6 @@ ENV LANG=C.UTF-8 \ SUPERSET_HOME=/var/lib/superset \ FLASK_APP=superset.app:create_app() -# Create superset user & install dependencies RUN useradd -U -m superset && \ mkdir -p /etc/superset /tmp/requirements ${SUPERSET_HOME} && \ chown -R superset:superset /etc/superset ${SUPERSET_HOME} && \ @@ -62,12 +59,9 @@ RUN useradd -U -m superset && \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/* /tmp/google-chrome-stable_current.deb /tmp/chromedriver.zip -# Configure Filesystem COPY superset /usr/local/bin WORKDIR /home/superset -# Deploy application EXPOSE 8088 -HEALTHCHECK CMD ["curl", "-f", "http://localhost:8088/health"] CMD ["superset-run"] USER superset