14 lines
361 B
Bash
Executable File
14 lines
361 B
Bash
Executable File
#!/bin/sh
|
|
|
|
docker container rm preauth
|
|
docker build . -t digtialadapt/preauth:dev
|
|
docker run --name preauth \
|
|
-e APP_ENV=dev \
|
|
-e APP_DEBUG=true \
|
|
-e APP_SECRET=f88a1074691c40415be4439345b79f69 \
|
|
-e APP_SHARE_DIR=var/share \
|
|
-e DEFAULT_URI=http://localhost \
|
|
-v ./var/share:/app/var/share \
|
|
-p 8000:80 \
|
|
digtialadapt/preauth:dev
|