21 lines
299 B
Docker
21 lines
299 B
Docker
# FROM node:current-slim
|
|
FROM node:current-alpine
|
|
ARG VERSION
|
|
ENV VERSION ${VERSION:-development}
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./package*.json /app/
|
|
|
|
COPY ./Docker/cronjobs /etc/crontabs/root
|
|
|
|
COPY ./app /app/app
|
|
|
|
COPY ./libs /app/libs
|
|
|
|
COPY ./data /app/data
|
|
|
|
RUN npm install
|
|
|
|
CMD ["crond", "-f", "-d", "8"]
|