jason137 commited on
Commit
df26738
·
1 Parent(s): e37fa1b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -1,20 +1,17 @@
1
 
2
  FROM ubuntu:latest
3
  WORKDIR /app
4
- RUN apt-get -y update && install git
5
- # RUN apt-get -y install git
6
  RUN git clone https://github.com/dbt-labs/jaffle_shop.git
7
 
8
  FROM postgres:latest
9
  FROM python:latest
10
- ENV POSTGRES_HOST_AUTH_METHOD=trust
11
  WORKDIR /jaffle_shop
12
  COPY requirements.txt .
 
 
 
13
  RUN pip install -r requirements.txt
14
-
15
- FROM postgres:latest
16
- WORKDIR /app
17
- ENV DBT_PROFILES_DIR=/app
18
  RUN dbt debug
19
 
20
  # RUN dbt seed
 
1
 
2
  FROM ubuntu:latest
3
  WORKDIR /app
4
+ RUN apt-get -y update && apt-get -y install git
 
5
  RUN git clone https://github.com/dbt-labs/jaffle_shop.git
6
 
7
  FROM postgres:latest
8
  FROM python:latest
 
9
  WORKDIR /jaffle_shop
10
  COPY requirements.txt .
11
+ COPY profiles.yml .
12
+ ENV POSTGRES_HOST_AUTH_METHOD=trust
13
+ ENV DBT_PROFILES_DIR=/jaffle_shop
14
  RUN pip install -r requirements.txt
 
 
 
 
15
  RUN dbt debug
16
 
17
  # RUN dbt seed