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
|
||||
|
||||
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 \
|
||||
&& yarn run build
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /app/public;
|
||||
root /app;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
|
||||
Reference in New Issue
Block a user