dockerfile/examples/standardnotes/official-src/server-main/packages/websockets/Dockerfile

18 lines
283 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/websockets
ENTRYPOINT [ "/workspace/packages/websockets/docker/entrypoint.sh" ]
CMD [ "start-web" ]