standardnotes-server/packages/scheduler/Dockerfile
Karol Sójko c2cbf44594
chore: upgrade node version (#835)
* chore: upgrade node version

* chore: upgrade yarn

* fix: yarn setup:

* remove bundle plugin

* fix bundling

* fix env path for files
2023-09-18 13:32:49 +02:00

17 lines
284 B
Docker

FROM node:20.6.1-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" ]