diff --git a/Dockerfiles/Dockerfile.bgg_orchestrator b/Dockerfiles/Dockerfile.bgg_orchestrator index 646a7a2..0b7ca3d 100644 --- a/Dockerfiles/Dockerfile.bgg_orchestrator +++ b/Dockerfiles/Dockerfile.bgg_orchestrator @@ -9,8 +9,6 @@ RUN apt-get update && apt-get install -y \ # Install pipenv RUN pip3 install pipenv -# Create the necessary directory for the application and dagster runs -RUN mkdir -p /app/aws_dagster_bgg/dagster_runs # Set the working directory WORKDIR /app @@ -27,6 +25,7 @@ COPY aws_dagster_bgg aws_dagster_bgg COPY utils utils COPY config.py . COPY dagster_cloud.yaml . +RUN mkdir -p /aws_dagster_bgg/dagster_runs # Set environment variables with ARG for build-time and ENV for runtime ARG ENV diff --git a/aws_dagster_bgg/bgg_orchestrate.py b/aws_dagster_bgg/bgg_orchestrate.py index 38aadb1..3d0396c 100644 --- a/aws_dagster_bgg/bgg_orchestrate.py +++ b/aws_dagster_bgg/bgg_orchestrate.py @@ -10,6 +10,7 @@ print(os.getcwd()) print(os.listdir()) + print(os.listdir("aws_dagster_bgg")) subprocess.Popen("dagster-webserver -h 0.0.0.0 -p 3000".split(" ")) print("Started webserver")