Spaces:
Build error
Build error
Download Dockerfile from jason137/docker-test-2: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/spaces/jason137/docker-test-2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jason137/docker-test-2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jason137/docker-test-2/resolve/main/Dockerfile
614 Bytes
| 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 | |