mirror of
https://github.com/aljazceru/nostr-relay-registry.git
synced 2025-12-17 06:04:24 +01:00
17 lines
321 B
Docker
17 lines
321 B
Docker
FROM node:14-alpine as build
|
|
|
|
WORKDIR /app
|
|
|
|
COPY public/index.html /app/public/index.html
|
|
|
|
COPY main.js package.json build.js /app/
|
|
|
|
RUN yarn \
|
|
&& yarn run build
|
|
|
|
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
|