fediblock-instance/Dockerfile

8 lines
256 B
Docker
Raw Permalink Normal View History

2024-09-15 17:44:53 +00:00
FROM node:21-slim
RUN apt update && apt install -y git && apt clean
COPY --chown=node:node . /fediblock-instance
USER node
WORKDIR /fediblock-instance
RUN yarn config set network-timeout 300000 && yarn && yarn build
EXPOSE 4000
ENTRYPOINT ["yarn", "start"]