lot/Docker/Dockerfile

21 lines
299 B
Docker
Raw Normal View History

# 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"]