db-rest/Dockerfile
2020-04-30 15:11:20 +02:00

16 lines
247 B
Docker

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