Skip to content

Commit 9ba14c3

Browse files
committed
remove noroot to mount port 80
1 parent 3a076d5 commit 9ba14c3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docker-cloud/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,4 @@ COPY --from=build /out /out
2525

2626
EXPOSE 80
2727

28-
USER nonroot:nonroot
29-
3028
ENTRYPOINT ["/out"]

docker-cloud/IMPLEMENTATION.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ WORKDIR /
6767

6868
COPY --from=build /out /out
6969

70-
EXPOSE 8080
71-
72-
USER nonroot:nonroot
70+
EXPOSE 80
7371

7472
ENTRYPOINT ["/out"]
7573
```

0 commit comments

Comments
 (0)