Skip to content
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@fideloper @dbpolito
19 lines (12 sloc) 451 Bytes
FROM node:latest
LABEL maintainer="Chris Fidao"
WORKDIR /var/www/html
ARG uid=999
RUN curl -sS | apt-key add - \
&& echo "deb stable main" > /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y git yarn \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN usermod -u $uid node
You can’t perform that action at this time.