fediblock-instance/Dockerfile
ale e0fae7a6b4
All checks were successful
continuous-integration/drone/tag Build is passing
initial commit
2024-09-15 19:44:53 +02:00

8 lines
256 B
Docker

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"]