Skip to content

Commit

Permalink
feat(repo): Remove unused archives, move to containerised
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Jan 17, 2025
1 parent b313d82 commit 848d525
Show file tree
Hide file tree
Showing 50 changed files with 568 additions and 2,876 deletions.
31 changes: 31 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
FROM python:3.12-slim

# Checkout and install dagster libraries needed to run the gRPC server by exposing
# your code location to dagster-webserver and dagster-daemon, and loading the
# DagsterInstance.

RUN pip install \
dagster \
dagster-postgres \
dagster-docker

# Set $DAGSTER_HOME and copy dagster instance there
ENV DAGSTER_HOME=/opt/dagster/dagster_home

RUN mkdir -p $DAGSTER_HOME
COPY dagster.yaml $DAGSTER_HOME


# Add repository code
WORKDIR /opt/dagster/app
COPY workspace.yaml /opt/dagster/app
COPY local_archives /opt/dagster/app
COPY cloud_archives /opt/dagster/app

# Run dagster gRPC server on port 4000
EXPOSE 4000

# Using CMD rather than ENTRYPOINT allows the command to be overridden in
# run launchers or executors to run other commands using this image
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000"]

Empty file removed cloud_archives/nwp/__init__.py
Empty file.
22 changes: 0 additions & 22 deletions cloud_archives/nwp/icon/__init__.py

This file was deleted.

69 changes: 0 additions & 69 deletions cloud_archives/nwp/icon/_ops.py

This file was deleted.

80 changes: 0 additions & 80 deletions cloud_archives/nwp/icon/icon_eu.py

This file was deleted.

76 changes: 0 additions & 76 deletions cloud_archives/nwp/icon/icon_global.py

This file was deleted.

11 changes: 0 additions & 11 deletions cloud_archives/ops/__init__.py

This file was deleted.

53 changes: 0 additions & 53 deletions cloud_archives/ops/generic.py

This file was deleted.

Loading

0 comments on commit 848d525

Please sign in to comment.