Files
nostr-relay-registry/Dockerfile
fiatjaf 270f242d1f remove webpack, use esbuild instead.
this probably breaks docker. @cameri help.
2022-02-12 14:28:49 -03:00

15 lines
285 B
Docker

FROM node:14-alpine as build
WORKDIR /app
COPY index.html 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