This commit is contained in:
MedzikUser 2021-10-03 14:27:00 +02:00
parent 7e91f08195
commit b491959a18
No known key found for this signature in database
GPG Key ID: 3AC8B718A75F3281
1 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,15 @@ RUN apt-get update \
# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Yarn
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg > /dev/null \
&& echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& sudo apt-get update \
&& sudo apt-get install yarn \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT []