Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 487 Bytes
FROM node:8-alpine
MAINTAINER Ferdinand Mütsch <ferdinand@muetsch.io>
WORKDIR /app
COPY app /app/app/
COPY config /app/config/
COPY public /app/public/
COPY *.js /app/
COPY *.json /app/
VOLUME [ "/app/data" ]
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh
RUN npm install -g bower
RUN npm install && \
cd public && \
bower install --allow-root && \
cd .. && \
npm run build && \
mkdir -p /var/log/anchr
ENTRYPOINT npm run production
You can’t perform that action at this time.