Spaces:
Running
Running
File size: 491 Bytes
2dab0a8 9d4ec9f 2dab0a8 9d4ec9f 2dab0a8 958326b 9d4ec9f 2dab0a8 382bae7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.12
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
COPY --chown=user datalia/ $HOME/app/datalia/
COPY --chown=user dbt/ $HOME/app/dbt/
COPY --chown=user Makefile pyproject.toml uv.lock $HOME/app/
RUN mkdir -p $HOME/app/data && chown -R user:user $HOME/app/data
WORKDIR $HOME/app
RUN [ "uv", "sync" ]
CMD [ "uv", "run", "dagster", "dev", "-h", "0.0.0.0", "-p", "7860" ]
|