File tree 3 files changed +5
-7
lines changed
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ services:
48
48
build :
49
49
context : .
50
50
ports :
51
- - 4200:80
51
+ - 4200:8080
52
52
volumes :
53
53
- " ./CI/e2e/frontend.config.e2e.json:/usr/share/nginx/html/assets/config.json"
54
54
depends_on :
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ RUN npm ci
8
8
COPY . /frontend/
9
9
RUN npx ng build
10
10
11
- FROM nginx:1.25-alpine
12
- RUN rm -rf /usr/share/nginx/html/*
11
+ FROM nginxinc/nginx-unprivileged
13
12
COPY --from=builder /frontend/dist/ /usr/share/nginx/html/
14
- COPY scripts/nginx.conf /etc/nginx/nginx.conf
15
- EXPOSE 80
13
+ EXPOSE 8080
Original file line number Diff line number Diff line change 31
31
default_type application/octet-stream;
32
32
33
33
server {
34
- listen 80 default_server ;
35
- listen [::]:80 default_server ;
34
+ listen 8080 default_server ;
35
+ listen [::]:8080 default_server ;
36
36
server_name _;
37
37
root /usr/share/nginx/html;
38
38
You can’t perform that action at this time.
0 commit comments