-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(repo): Remove unused archives, move to containerised
- Loading branch information
Showing
50 changed files
with
568 additions
and
2,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.