finance-dbt/Dockerfile

14 lines
336 B
Docker
Raw Permalink Normal View History

2024-04-12 19:07:47 +08:00
FROM python:3.10.14-slim
USER 1001
WORKDIR /app
### Pip
USER root
COPY ./requirements.txt /app/
2024-07-05 18:11:40 +08:00
RUN pip config set global.index-url https://nexus.mujiannan.com:5001/repository/pypiserver/simple && \
2024-04-12 19:07:47 +08:00
pip install -r requirements.txt
USER 1001
## Copy files
COPY --chown=1001 . /app
## Install packges/dependencies
### Dbt
RUN dbt deps