SinTan1729 / chhoto-url

A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.
https://hub.docker.com/r/sintan1729/chhoto-url
MIT License
142 stars 15 forks source link

Fix simple dockerfile errors #27

Closed yilmaz08 closed 2 months ago

yilmaz08 commented 2 months ago

PR fixes 2 errors I've faced when building the Dockerfile.

The errors: 1- When using COPY with more than one source file, the destination must be a directory and end with a / 2- $target argument not being passed

I don't know how you didn't face these errors before, maybe it is about the version changes.

SinTan1729 commented 2 months ago

Hi @yilmaz08, thank you for the PR. I had been using the Dockerfile.multiarch file for testing and releasing, so didn't realize this issue. I've also fixed another error I encountered while testing this PR.