mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-19 13:19:41 +02:00
fix omni docker image (#2432)
This commit is contained in:
parent
d1b06e7339
commit
4af9eec89d
1 changed files with 8 additions and 5 deletions
|
@ -102,13 +102,16 @@ RUN apt-get update \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN apt-get install -y curl \
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
&& apt-get install -y nodejs
|
||||||
&& apt-get install -y nodejs \
|
|
||||||
&& curl -L https://www.npmjs.com/install.sh | sh
|
|
||||||
|
|
||||||
# Add Yarn
|
# Add Yarn
|
||||||
RUN npm install -g yarn
|
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null \
|
||||||
|
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
|
&& apt-get update && apt-get install yarn
|
||||||
|
|
||||||
|
# Clean apt
|
||||||
|
RUN apt-get autoremove && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# copying poetry and venv into image
|
# copying poetry and venv into image
|
||||||
COPY --from=builder-base $POETRY_HOME $POETRY_HOME
|
COPY --from=builder-base $POETRY_HOME $POETRY_HOME
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue