Skip to content

Commit eb93011

Browse files
panxunyingpanxunying
authored andcommitted
optimize dockerfile
Signed-off-by: panxunying <[email protected]>
1 parent 2e16db3 commit eb93011

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,9 @@ USER 1001:1001
6262

6363
COPY docker-entrypoint.sh /entrypoint.sh
6464

65+
ENV DEX_FRONTEND_DIR=/srv/dex/custom-web
66+
67+
COPY --chown=root:root custom-web /srv/dex/custom-web
68+
6569
ENTRYPOINT ["/entrypoint.sh"]
6670
CMD ["dex", "serve", "/etc/dex/config.docker.yaml"]

Dockerfile-custom-web

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)