mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-01-26 03:34:03 +00:00
16 lines
237 B
Bash
Executable File
16 lines
237 B
Bash
Executable File
#!/bin/bash
|
|
if [[ -z "$1" ]]
|
|
then
|
|
KEYROOT=$HOME
|
|
else
|
|
KEYROOT=$1
|
|
fi
|
|
|
|
gem install ejson
|
|
|
|
ejson --keydir=$KEYROOT/.ejson decrypt config/config.production.ejson > config.json
|
|
|
|
docker build -t koodiklinikka.fi-api .
|
|
|
|
rm -rf config.json
|