mirror of
https://github.com/aljazceru/nostr-relay-registry.git
synced 2025-12-17 06:04:24 +01:00
Merge pull request #10 from Cameri/fix/docker-with-esbuild
fix: docker with esbuild
This commit is contained in:
@@ -2,7 +2,9 @@ FROM node:14-alpine as build
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY index.html main.js package.json build.js /app/
|
COPY public/index.html /app/public/index.html
|
||||||
|
|
||||||
|
COPY main.js package.json build.js /app/
|
||||||
|
|
||||||
RUN yarn \
|
RUN yarn \
|
||||||
&& yarn run build
|
&& yarn run build
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
root /app/public;
|
root /app;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|||||||
Reference in New Issue
Block a user