17 lines
284 B
Docker
17 lines
284 B
Docker
FROM node:20.2.0-alpine
|
|
|
|
RUN apk add --update \
|
|
curl \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ENV NODE_ENV production
|
|
|
|
RUN corepack enable
|
|
|
|
COPY ./ /workspace
|
|
|
|
WORKDIR /workspace/packages/scheduler
|
|
|
|
ENTRYPOINT [ "/workspace/packages/scheduler/docker/entrypoint.sh" ]
|
|
|
|
CMD [ "start-worker" ]
|