FROM alpine
RUN apk add --update go nodejs npm make rsync

WORKDIR /app
COPY . .
RUN make all

WORKDIR /app/dist
CMD ["./posti-dm"]
EXPOSE 3000