db-rest/Dockerfile

17 lines
246 B
Docker
Raw Normal View History

FROM node:alpine
2017-10-23 23:13:53 +02:00
WORKDIR /app
ADD . /app
RUN apk add --update git bash && \
npm install --production && \
apk del git && \
rm -rf /tmp/* /var/cache/apk/*
2017-10-23 23:13:53 +02:00
EXPOSE 3000
ENV HOSTNAME 2.db.transport.rest
2017-10-23 23:13:53 +02:00
ENV PORT 3000
CMD ["node", "index.js"]