mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-14 17:18:24 -05:00
14 lines
324 B
Django/Jinja
14 lines
324 B
Django/Jinja
{% if board in ['pi1', 'pi2'] %}
|
|
RUN apt-get update && \
|
|
apt-get -y install \
|
|
nodejs \
|
|
npm
|
|
{% else %}
|
|
RUN apt-get update && \
|
|
apt-get -y install \
|
|
curl \
|
|
ca-certificates && \
|
|
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
|
apt-get -y install nodejs
|
|
{% endif %}
|