Newer
Older
RUN apk add --update git && \
rm -rf /tmp/* /var/cache/apk/*
USER node
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
COPY webpack*.js ./
# Express server handles the backend functionality and also serves the React app