2018-07-16 19:26:24 +02:00
|
|
|
FROM node:alpine
|
2017-10-23 23:13:53 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
ADD . /app
|
|
|
|
|
2019-03-27 12:19:50 +01:00
|
|
|
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
|
|
|
|
|
2020-04-30 15:05:18 +02:00
|
|
|
ENV HOSTNAME v5.db.transport.rest
|
2017-10-23 23:13:53 +02:00
|
|
|
ENV PORT 3000
|
|
|
|
|
2020-05-01 20:12:24 +02:00
|
|
|
RUN npm run build
|
|
|
|
|
2020-04-26 18:09:50 +02:00
|
|
|
CMD ["node", "index.js"]
|