Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
Fix permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phntxx committed Jan 26, 2025
1 parent 9598ddb commit fe6baf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN yarn install
COPY . ./
RUN yarn build

FROM ratisbonacoding/nginx-cloudflare-cache
FROM nginx
COPY --from=build /app/build /app
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/nginx.conf
5 changes: 2 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
user www-data;
worker_processes auto;

events {
Expand All @@ -14,10 +13,10 @@ http {
server {
listen 80;
server_name localhost; # edit as needed if using your own domain
root /var/www/dashboard/html/;
root /app/;

location / {
index index.html index.htm;
}
}
}
}

0 comments on commit fe6baf9

Please sign in to comment.