Dockerfile 209 Bytes
Newer Older
1
FROM node:8.2
2

3 4 5
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
6

7 8
# Install app dependencies
COPY . /usr/src/app
9
RUN npm install && npm run build
10

11
VOLUME /usr/src/app/build
12

13
CMD [ "true" ]