finance-dbt/Dockerfile
沈楠 0ffaacc353
All checks were successful
MJN/finance-dbt/pipeline/head This commit looks good
init: created
2024-04-12 19:07:47 +08:00

14 lines
337 B
Docker

FROM python:3.10.14-slim
USER 1001
WORKDIR /app
### Pip
USER root
COPY ./requirements.txt /app/
RUN pip3 config set global.index-url https://nexus.mujiannan.com:5001/repository/pypiserver/simple && \
pip install -r requirements.txt
USER 1001
## Copy files
COPY --chown=1001 . /app
## Install packges/dependencies
### Dbt
RUN dbt deps