We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a72a56 commit b45f40cCopy full SHA for b45f40c
.nginx/nginx.conf
@@ -8,7 +8,7 @@ http {
8
root /usr/share/nginx/html;
9
include /etc/nginx/mime.types;
10
11
- location /appui {
+ location / {
12
try_files $uri /index.html;
13
}
14
Dockerfile
@@ -15,7 +15,7 @@ COPY . .
15
RUN npm run build
16
17
18
-FROM nginx:alpine
+FROM nginx:1.20-alpine
19
20
#!/bin/sh
21
@@ -24,7 +24,7 @@ COPY ./.nginx/nginx.conf /etc/nginx/nginx.conf
24
## Remove default nginx index page
25
RUN rm -rf /usr/share/nginx/html/*
26
27
-# Copy from the stahg 1
+# Copy from the stage 1
28
COPY --from=builder /react-ui/build /usr/share/nginx/html
29
30
-EXPOSE 3000 80
+EXPOSE 443 80
0 commit comments