This commit is contained in:
parent
7c05378731
commit
f50ff8cca1
1 changed files with 6 additions and 6 deletions
12
Dockerfile
12
Dockerfile
|
@ -3,13 +3,13 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||||
ENV UV_PYTHON_PREFERENCE=only-managed
|
ENV UV_PYTHON_PREFERENCE=only-managed
|
||||||
ENV FORCE_COLOR=1
|
ENV FORCE_COLOR=1
|
||||||
|
|
||||||
FROM uv AS docs
|
FROM uv AS yarn
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs && \
|
||||||
node --version
|
node --version && \
|
||||||
|
npm --version && \
|
||||||
|
npm i -g yarn
|
||||||
|
|
||||||
RUN npm install -g @getmeli/cli@1.2.0
|
FROM yarn AS docs
|
||||||
|
RUN yarn install -g @getmeli/cli@1.2.0
|
||||||
FROM docs AS yarn
|
|
||||||
RUN npm i -g yarn
|
|
Loading…
Reference in a new issue