diff --git a/Dockerfile b/Dockerfile index 6614f59..9bcf1f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,10 @@ FROM debian:buster-slim WORKDIR /etc/lust RUN apt-get update \ - && apt-get install -y ca-certificates tzdata libssl-dev pkg-config \ + && apt-get install -y ca-certificates libssl-dev pkg-config \ && rm -rf /var/lib/apt/lists/* -COPY --from=build /app/target/release/lust / +COPY --from=build /app/target/release/lust ./ USER root ENTRYPOINT ["./lust", "--host", "0.0.0.0"] diff --git a/README.md b/README.md index 74c48e2..d2826ea 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Re-encode uploaded images into `png`, `jpeg`, `webp` or even into `gif` based fo Resize them to your liking automatically with sizing presets, instantly create small, medium and large variants with just a few line in a config file. *Now that's the spirit of lust* -And much more like caching, on the fly resizing, processing modes to name a few. +And much more like caching, on the fly resizing and diffrent processing modes to name a few. ## Getting started ### Creating a config file @@ -35,8 +35,9 @@ cargo install lust --git https://github.com/ChillFish8/lust.git #### Docker Images Lust has a set of pre-built, optimised docker images ready to go. Just run it with ```shell -docker run -v "my_config.yaml:/var/lust/my_config.yaml" chillfish8/lust:latest --config-file "/var/lust/my_config.yaml" +docker run -v "my_configs:/var/lust/" chillfish8/lust:latest --config-file "/var/lust/config.yaml" ``` +*Note: Assuming there is a folder called `my_configs` with a `config.yaml` file in it.* ### After Installation Once you're up and running navigate to `http://127.0.0.1:8000/ui` or `/ui` of what ever port your server is running on