Removed sudo
This commit is contained in:
parent
9160e988f8
commit
e12f53d91d
@ -7,7 +7,7 @@ First, clone the latest version of Lychee and build it using the Dockerfile incl
|
||||
```bash
|
||||
git clone https://github.com/electerious/Lychee.git
|
||||
cd Lychee
|
||||
sudo docker build -t lychee .
|
||||
docker build -t lychee .
|
||||
```
|
||||
|
||||
Once this is finished, remember to set the proper permissions on the `uploads` and `data` directories, so the container can mount these directories as volumes.
|
||||
@ -19,7 +19,7 @@ chmod -R 777 uploads/ data/
|
||||
Now you can use the `docker run` command to run your Lychee container.
|
||||
|
||||
```bash
|
||||
sudo docker run -v /var/lib/mysql --name lychee_data \
|
||||
docker run -v /var/lib/mysql --name lychee_data \
|
||||
-v $(pwd)/data:/app/data \
|
||||
-v $(pwd)/uploads:/app/uploads \
|
||||
-i -t -d -p 8000:80 lychee
|
||||
|
Loading…
Reference in New Issue
Block a user