File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ COPY . .
1010RUN pnpm build
1111
1212# production stage
13- FROM nginx:stable-alpine AS production-stage
13+ FROM nginxinc/ nginx-unprivileged :stable-alpine AS production-stage
1414COPY --from=build-stage /app/dist /usr/share/nginx/html
1515COPY nginx.conf /etc/nginx/conf.d/default.conf
16- EXPOSE 80
16+ EXPOSE 8080
1717CMD ["nginx" , "-g" , "daemon off;" ]
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ Self host solutions for your homelab
2323** From docker hub:**
2424
2525``` sh
26- docker run -d --name it-tools --restart unless-stopped -p 8080:80 corentinth/it-tools:latest
26+ docker run -d --name it-tools --restart unless-stopped -p 8080:8080 corentinth/it-tools:latest
2727```
2828
2929** From github packages:**
3030
3131``` sh
32- docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corentinth/it-tools:latest
32+ docker run -d --name it-tools --restart unless-stopped -p 8080:8080 ghcr.io/corentinth/it-tools:latest
3333```
3434
3535** Other solutions:**
Original file line number Diff line number Diff line change 11server {
2- listen 80 ;
2+ listen 8080 ;
33 server_name localhost;
44 root /usr/share/nginx/html;
55 index index .html;
66
77 location / {
88 try_files $uri $uri / /index .html;
99 }
10- }
10+ }
You can’t perform that action at this time.
0 commit comments