Sign inSign up

tuthur9/reactjs

By tuthur9

•Updated about 7 years ago

Docker image Reactjs

Image
0

149

tuthur9/reactjs repository overview

⁠Dockerfile

# base image
FROM node:12.2.0-alpine

# set working directory
WORKDIR /app

# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH

# install and cache app dependencies
COPY package.json /app/package.json
RUN npm install --silent
RUN npm install [email protected] -g --silent

# start app
CMD ["npm", "start"]

Tag summary

Content type

Image

Digest

Size

152.2 MB

Last updated

about 7 years ago

docker pull tuthur9/reactjs