14 wiersze
522 B
Docker
14 wiersze
522 B
Docker
FROM debian:bookworm
|
|
RUN apt update
|
|
RUN apt upgrade -y
|
|
RUN apt install curl git -y
|
|
# INSTALL nodejs
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
|
RUN apt install nodejs -y
|
|
# INSTALL yarn
|
|
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null
|
|
RUN echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list
|
|
RUN apt update
|
|
RUN apt install yarn -y
|
|
COPY start.sh /root
|