2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/Dockerfile

20 lines
284 B
Docker
Raw Normal View History

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