mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
Use COPY --chmod to remove duplicated layer.
GITHUB_PR_NUMBER: 9687 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9687 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9407 Co-authored-by: Greg Schofield <3594838+gscho@users.noreply.github.com> GitOrigin-RevId: 1d3a402cce66d01c2c85ee3b0b46ac6b4ce793c7
This commit is contained in:
parent
dc7a1f2270
commit
d4263d286a
@ -18,9 +18,7 @@ RUN mkdir -p /.hasura \
|
||||
ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false
|
||||
|
||||
COPY docker-entrypoint.sh /bin/
|
||||
COPY hasura-cli /bin/hasura-cli
|
||||
|
||||
RUN chmod +x /bin/hasura-cli
|
||||
COPY --chmod=+x hasura-cli /bin/hasura-cli
|
||||
|
||||
# set an env var to let the cli know that
|
||||
# it is running in server environment
|
||||
|
@ -18,9 +18,7 @@ RUN mkdir -p /.hasura \
|
||||
ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false
|
||||
|
||||
COPY docker-entrypoint.sh /bin/
|
||||
COPY hasura-cli /bin/hasura-cli
|
||||
|
||||
RUN chmod +x /bin/hasura-cli
|
||||
COPY --chmod=+x hasura-cli /bin/hasura-cli
|
||||
|
||||
# set an env var to let the cli know that
|
||||
# it is running in server environment
|
||||
|
Loading…
Reference in New Issue
Block a user