fix dockerfile
This commit is contained in:
parent
b873f75ff6
commit
87c8457144
2 changed files with 2 additions and 3 deletions
|
@ -28,7 +28,7 @@ RUN groupadd -g 999 $user && useradd -m -u 999 -g $user $user
|
|||
RUN mkdir -p $db_dir
|
||||
RUN chown -R $user:$user $db_dir
|
||||
|
||||
COPY docker $projects_dir
|
||||
COPY . $projects_dir
|
||||
RUN chown -R $user:$user $projects_dir
|
||||
|
||||
USER $user
|
||||
|
|
|
@ -4,10 +4,9 @@
|
|||
TARGET_HOST=$1
|
||||
|
||||
SCRIPTS_DIR=`dirname $0`
|
||||
SCRIBE_DIR=`dirname $SCRIPTS_DIR`
|
||||
|
||||
# build the image
|
||||
docker build -f $SCRIBE_DIR/Dockerfile -t lbry/scribe:development $SCRIBE_DIR
|
||||
docker build -t lbry/scribe:development .
|
||||
IMAGE=`docker image inspect lbry/scribe:development | sed -n "s/^.*Id\":\s*\"sha256:\s*\(\S*\)\".*$/\1/p"`
|
||||
|
||||
# push the image to the server
|
||||
|
|
Loading…
Reference in a new issue