glutamatt HF Staff commited on
Commit
d58e2d3
·
verified ·
1 Parent(s): b547a92
Files changed (4) hide show
  1. Dockerfile +2 -2
  2. README.md +2 -2
  3. docker-compose.yml +1 -1
  4. nginx.conf +1 -1
Dockerfile CHANGED
@@ -24,8 +24,8 @@ COPY --from=builder /app/dist /usr/share/nginx/html
24
  # Copy nginx configuration
25
  COPY nginx.conf /etc/nginx/conf.d/default.conf
26
 
27
- # Expose port 80
28
- EXPOSE 80
29
 
30
  # Start nginx
31
  CMD ["nginx", "-g", "daemon off;"]
 
24
  # Copy nginx configuration
25
  COPY nginx.conf /etc/nginx/conf.d/default.conf
26
 
27
+ # Expose port 8080
28
+ EXPOSE 8080
29
 
30
  # Start nginx
31
  CMD ["nginx", "-g", "daemon off;"]
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: red
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
- app_port: 80
10
  ---
11
 
12
  # Training Load Data Visualization
@@ -56,7 +56,7 @@ The app will be available at `http://localhost:3000`
56
  docker build -t training-load-dataviz .
57
 
58
  # Run the container
59
- docker run -d -p 8080:80 --name training-load-app training-load-dataviz
60
  ```
61
 
62
  The app will be available at `http://localhost:8080`
 
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
+ app_port: 8080
10
  ---
11
 
12
  # Training Load Data Visualization
 
56
  docker build -t training-load-dataviz .
57
 
58
  # Run the container
59
+ docker run -d -p 8080:8080 --name training-load-app training-load-dataviz
60
  ```
61
 
62
  The app will be available at `http://localhost:8080`
docker-compose.yml CHANGED
@@ -6,6 +6,6 @@ services:
6
  context: .
7
  dockerfile: Dockerfile
8
  ports:
9
- - "8080:80"
10
  container_name: training-load-dataviz
11
  restart: unless-stopped
 
6
  context: .
7
  dockerfile: Dockerfile
8
  ports:
9
+ - "8080:8080"
10
  container_name: training-load-dataviz
11
  restart: unless-stopped
nginx.conf CHANGED
@@ -1,5 +1,5 @@
1
  server {
2
- listen 80;
3
  server_name localhost;
4
  root /usr/share/nginx/html;
5
  index index.html;
 
1
  server {
2
+ listen 8080;
3
  server_name localhost;
4
  root /usr/share/nginx/html;
5
  index index.html;