lot/Docker/Dockerfile
2022-05-13 23:14:42 +01:00

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