Update README.md (#3023)

## Description

Changes the name of the docker image that gets build.

## Tests
This commit is contained in:
Johannes7k75
2024-09-03 12:25:48 +02:00
committed by GitHub
parent b53197d948
commit 7d0ae17ddd
2 changed files with 6 additions and 12 deletions

View File

@@ -89,22 +89,14 @@ If you fancy Docker, you can also run the CLI within a container.
Modify the `docker-compose.yml` and add volume. ``cli-data`` volume is
mandatory, you can add more volumes for your export directory.
Build the docker image
Build and run the container in detached mode
```shell
docker build -t ente:latest .
docker-compose up -d --build
```
Note that [BuildKit](https://docs.docker.com/go/buildkit/) is needed to build
this image. If you face this issue, a quick fix is to add `DOCKER_BUILDKIT=1` in
front of the build command.
Start the container in detached mode
```shell
docker-compose up -d
```
`exec` into the container
```shell
docker-compose exec ente-cli /bin/sh -c "./ente-cli version"

View File

@@ -1,7 +1,9 @@
version: '3'
services:
ente-cli:
image: ente-cli:latest
build:
context: .
tags:
- ente-cli:latest
command: /bin/sh
volumes:
# This is mandatory to mount the local directory to the container at /cli-data