沈楠
f8d9e59c30
Some checks failed
MJN/finance-dbt/pipeline/head There was a failure building this commit
14 lines
336 B
Docker
14 lines
336 B
Docker
FROM python:3.10.14-slim
|
|
USER 1001
|
|
WORKDIR /app
|
|
### Pip
|
|
USER root
|
|
COPY ./requirements.txt /app/
|
|
RUN pip 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 |