Public | Automated Build

Last pushed: 2 years ago
Dockerfile
########################################################### # # Dockerfile for tfk-seneca-skoleskyss-dispatcher # ########################################################### # Setting the base to nodejs 4.6.0 FROM mhart/alpine-node:4.6.0 # Maintainer MAINTAINER Geir Gåsodden #### Begin setup #### # Installs git RUN apk add --update --no-cache git # Extra tools for native dependencies RUN apk add --no-cache make gcc g++ python # Bundle app source COPY . /src # Change working directory WORKDIR "/src" # Install dependencies RUN npm install --production # Env variables ENV TFK_SENECA_SKOLESKYSS_DISPATCHER_TAG tfk-seneca-skoleskyss-dispatcher ENV TFK_SENECA_SKOLESKYSS_DISPATCHER_URL https://skoleskyssdispatcher.no ENV TFK_SENECA_SKOLESKYSS_DISPATCHER_HOST localhost ENV TFK_SENECA_SKOLESKYSS_DISPATCHER_PORT 8000 # Startup CMD ["node", "service.js", "--seneca-log=type:act"]