mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-20 19:32:22 +02:00
16 lines
361 B
Docker
16 lines
361 B
Docker
FROM node:20-bullseye-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
ENV NODE_ENV=production
|
|
RUN npm install --ignore-scripts=false --verbose @temporalio/worker @temporalio/workflow --unsafe-perm
|
|
|
|
COPY bundle/bundle.js ./
|
|
COPY bundle/workflows.js ./
|
|
|
|
CMD [ "node", "bundle.js" ]
|