Files
nostr-relay-registry/Dockerfile
Ricardo Arturo Cabral Mejia 8fab1e9f79 fix: fix paths on Dockerfile
2022-02-13 20:13:03 +00:00

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