Spaces:
Build error
Build error
File size: 614 Bytes
66c0616 bdc8b30 2035a6b 28083df b9adb7b bdc8b30 02621c4 bdc8b30 40fe50e bdc8b30 66c0616 bdc8b30 02b0a8e b2d3fa2 02b0a8e bdc8b30 02b0a8e 5a8e3c3 e37fa1b 18f19d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
FROM python:latest
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN apt-get -y update
RUN apt-get -y install git
RUN git clone https://github.com/dbt-labs/jaffle_shop.git
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user
ENV PATH=/home/user/.local/bin:$PATH
FROM postgres:latest
WORKDIR $HOME/app
# COPY --chown=user . $HOME/app
RUN ls /code
#COPY /code/jaffle_shop .
#COPY profiles.yml .
#ENV POSTGRES_HOST_AUTH_METHOD=trust
#ENV DBT_PROFILES_DIR=/jaffle_shop
#RUN ls
# RUN dbt debug
# RUN dbt seed
# RUN dbt run
|