famedly / famedly-sync

GNU Affero General Public License v3.0
4 stars 0 forks source link

Dockerfile instructions are somewhat broken #11

Closed tlater-famedly closed 2 months ago

tlater-famedly commented 3 months ago

See https://github.com/famedly/ldap-sync/pull/8#discussion_r1698481630_

At face value, this should not be working, but does in practice.

sirewix commented 3 months ago

Apparently the PROJECT_NAME is set in the builder container but not in the target container, thus COPY command copies all /app/target/release/ contents into /usr/local/bin/

sirewix commented 3 months ago

Also, the release/ dir contains all the build artifacts (for debug/ on my machine it's ~5G now)