Ride-The-Lightning-RTL/Dockerfile
Shahana Farooqui 2515d8027d Dependency updates
Dependency updates
2020-01-11 16:54:41 -05:00

20 lines
284 B
Docker

FROM node:10-alpine
RUN apk add --no-cache tini
WORKDIR /RTL
COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
RUN npm install --only=prod
COPY . /RTL
EXPOSE 3000
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["node", "rtl"]