build(backend/Dockerfile): prevent chown of backend files by allow-different-user in stack config
This commit is contained in:
parent
5fd52768bc
commit
d2105c8894
@ -9,7 +9,6 @@ endif
|
|||||||
|
|
||||||
.PHONY: dependencies
|
.PHONY: dependencies
|
||||||
dependencies:
|
dependencies:
|
||||||
chown -R `id -un`:`id -gn` "$(PROJECT_DIR)"; \
|
|
||||||
stack install hpack; stack install yesod-bin; \
|
stack install hpack; stack install yesod-bin; \
|
||||||
stack build -j2 --only-dependencies
|
stack build -j2 --only-dependencies
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,7 @@ flags:
|
|||||||
rebuild-ghc-options: true
|
rebuild-ghc-options: true
|
||||||
#ghc-options:
|
#ghc-options:
|
||||||
# "$everything": -fno-prof-auto
|
# "$everything": -fno-prof-auto
|
||||||
|
allow-different-user: true
|
||||||
|
|
||||||
local-bin-path: ./bin
|
local-bin-path: ./bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user