mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
15 lines
315 B
Bash
Executable File
15 lines
315 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DOCKER_IMAGE_REPO=alfresco/alfresco-content-app
|
|
HOST_PORT=8081
|
|
CONTAINER_PORT=8080
|
|
|
|
docker rmi -f $DOCKER_IMAGE_REPO
|
|
docker build -t $DOCKER_IMAGE_REPO .
|
|
|
|
echo "http://localhost:${HOST_PORT}"
|
|
|
|
docker run --rm -it \
|
|
--user 1000:1000 \
|
|
--publish $HOST_PORT:$CONTAINER_PORT $DOCKER_IMAGE_REPO
|