Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

FROM iron/node:withnpm
RUN apk update && apk upgrade

RUN mkdir client
COPY client client/

ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/

#Finally, the last thing I do is clear the cache to keep the image as small as possible
RUN rm -rf /var/cache/apk/*

Docker Pull Command
Owner
jpksf

Comments (0)