Ride-The-Lightning-RTL/Dockerfile

20 lines
284 B
Docker
Raw Normal View History

2019-02-13 23:35:12 +01:00
FROM node:10-alpine
2019-02-16 04:43:57 +01:00
RUN apk add --no-cache tini
2019-02-13 23:35:12 +01:00
WORKDIR /RTL
2019-02-25 11:49:49 +01:00
COPY package.json /RTL/package.json
COPY package-lock.json /RTL/package-lock.json
# Install dependencies
2020-01-11 22:54:41 +01:00
RUN npm install --only=prod
2019-02-25 11:49:49 +01:00
COPY . /RTL
2019-02-15 06:49:04 +01:00
EXPOSE 3000
2019-02-16 04:43:57 +01:00
ENTRYPOINT ["/sbin/tini", "-g", "--"]
CMD ["node", "rtl"]