mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-15 18:13:00 +00:00
20 lines
272 B
Docker
20 lines
272 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
|
|
|
|
COPY . /RTL
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
|
|
|
CMD ["node", "rtl"]
|