Skip to content

Commit

Permalink
Merge branch 'current' into joellabes-1955-remove-grants
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Dec 17, 2024
2 parents 133b357 + 79ac1b3 commit 00ad503
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
14 changes: 13 additions & 1 deletion website/docs/docs/core/docker-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,23 @@ docker pull ghcr.io/dbt-labs/<db_adapter_name>:<version_tag>
### Running a dbt Docker image in a container

The `ENTRYPOINT` for dbt Docker images is the command `dbt`. You can bind-mount your project to `/usr/app` and use dbt as normal:

```
docker run \
--network=host \
--mount type=bind,source=path/to/project,target=/usr/app \
--mount type=bind,source=path/to/profiles.yml,target=/root/.dbt/profiles.yml \
<dbt_image_name> \
ls
```

Or

```
docker run \
--network=host \
--mount type=bind,source=path/to/project,target=/usr/app \
--mount type=bind,source=path/to/profiles.yml,target=/root/.dbt/ \
--mount type=bind,source=path/to/profiles.yml.dbt,target=/root/.dbt/ \
<dbt_image_name> \
ls
```
Expand Down
6 changes: 2 additions & 4 deletions website/docs/guides/redshift-qs.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ Now we are going to load our sample data into the S3 bucket that our Cloudformat
id integer,
user_id integer,
order_date date,
status varchar(50),
_etl_loaded_at timestamp default current_timestamp
status varchar(50)
);
create table stripe.payment(
Expand All @@ -128,8 +127,7 @@ Now we are going to load our sample data into the S3 bucket that our Cloudformat
paymentmethod varchar(50),
status varchar(50),
amount integer,
created date,
_batched_at timestamp default current_timestamp
created date
);
```

Expand Down

0 comments on commit 00ad503

Please sign in to comment.