Ricardo Arturo Cabral Mejia
3 years ago
2 changed files with 17 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
node_modules/ |
|||
dist/ |
|||
.git |
@ -0,0 +1,14 @@ |
|||
FROM node:14-alpine as build |
|||
|
|||
WORKDIR /app |
|||
|
|||
COPY index.html main.js package.json webpack.config.js /app/ |
|||
|
|||
RUN yarn \ |
|||
&& npm 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/dist /app |
Loading…
Reference in new issue