8 lines
256 B
Docker
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"]
|