You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
348 B

FROM node:14-alpine as build
WORKDIR /app
2 years ago
COPY . /app/
2 years ago
RUN yarn && yarn build
2 years ago
RUN yarn global add yaml2json
RUN yaml2json relays.yaml > dist/relays.json
FROM nginx:stable-alpine as nginx-nostr-relay-registry
COPY ./nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/public /app
2 years ago
COPY --from=build /app/dist /app