Commit f49a6def authored by James Laver's avatar James Laver

don't depend on docker-compose

parent 36ba9be3
...@@ -42,7 +42,7 @@ root and you'll need root powers to get ownership back! ...@@ -42,7 +42,7 @@ root and you'll need root powers to get ownership back!
Now build the docker image: Now build the docker image:
```shell ```shell
docker-compose build frontend duild
``` ```
That's it, skip ahead to "Development". That's it, skip ahead to "Development".
......
export UID=$(id -u) export UID=$(id -u)
export GID=$(id -g) export GID=$(id -g)
alias darn="docker-compose run frontend yarn" alias darn="docker run -it -u $(id -u):$(id -g) -w /opt/app -p '5000:5000' -v $(pwd):/opt/app -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro garg-frontend-dev:latest /bin/ls -la"
alias duild="docker build . -f Dockerfile.dev -t garg-frontend-dev:latest"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment