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.

23 lines
433 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 yaml-doctor
2 years ago
# RUN yaml-doctor relays.yaml --fix
# RUN echo $(cat relays.yaml)
# 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