Permalink
Switch branches/tags
Nothing to show
Find file Copy path
6219b02 Feb 20, 2018
0 contributors

Users who have contributed to this file

20 lines (13 sloc) 302 Bytes
FROM node:9.4
# Create app directory
WORKDIR /usr/src/app
# Expose port for service
EXPOSE 5000
# Install and configure `serve`.
RUN npm install -g serve
# Copy source code to image
COPY . .
# Install dependencies
RUN npm install
# Build app and start server from script
CMD ["/usr/src/app/run"]