mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Create Dockerfile1
This commit is contained in:
parent
1f989a94a2
commit
3846091586
1 changed files with 9 additions and 0 deletions
9
Dockerfile1
Normal file
9
Dockerfile1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM debian
|
||||
|
||||
WORKDIR /my_app
|
||||
|
||||
RUN --mount=type=secret,id=secret_1 \
|
||||
sed -i "s/MY_SECRET_1=/MY_SECRET_1=$(cat /run/secrets/secret_1)/" .env.production
|
||||
|
||||
RUN --mount=type=secret,id=secret_2 \
|
||||
sed -i "s/SOMETHING_VERY_SECRET=/SOMETHING_VERY_SECRET=$(cat /run/secrets/secret_2)/" .env.production
|
||||
Loading…
Reference in a new issue