Skip to content

Commit

Permalink
fix dagster docker
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Courivaud <[email protected]>
  • Loading branch information
rcourivaud committed Jan 9, 2025
1 parent a2dc61e commit dac85bc
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .docker/dagster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
FROM python:3.10-slim

# ARG DAGSTER_PASSWORD=zlv
# ARG DAGSTER_USERNAME=zlv
ARG DAGSTER_PASSWORD
ARG DAGSTER_USERNAME

# ENV DAGSTER_PASSWORD=$DAGSTER_PASSWORD
# ENV DAGSTER_USERNAME=$DAGSTER_USERNAME
ENV DAGSTER_PASSWORD=$DAGSTER_PASSWORD
ENV DAGSTER_USERNAME=$DAGSTER_USERNAME

RUN apt-get update && apt-get install -y nginx apache2-utils
COPY --from=clevercloud/clever-tools /bin/clever /usr/local/bin/clever

RUN apt-get update && \
apt-get install -y nginx apache2-utils curl gnupg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN curl -sL https://clever-tools.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz | tar xz -C /usr/local/bin

RUN pip install dagster-webserver dagster-postgres dagster-aws

Expand All @@ -23,6 +30,8 @@ COPY analytics/dagster/dagster.yaml analytics/dagster/workspace.yaml $DAGSTER_HO

COPY analytics/dagster/src $DAGSTER_HOME/src

COPY analytics/dbt/ /opt/dagster/dbt

WORKDIR $DAGSTER_HOME

# Setup Nginx configuration
Expand Down

0 comments on commit dac85bc

Please sign in to comment.