From 915838e77a66db2ae399710f6663c8da183b36cc Mon Sep 17 00:00:00 2001
From: Valentin Tolmer <valentin@tolmer.fr>
Date: Thu, 25 Nov 2021 10:03:21 +0100
Subject: [PATCH] docker: Fix pkg copy

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index adbc42e..5a571f7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -57,7 +57,8 @@ RUN set -x \
 USER app
 WORKDIR /app
 
-COPY --chown=app:app --from=builder /app/app/index.html /app/app/main.js /app/app/pkg app/
+COPY --chown=app:app --from=builder /app/app/index.html /app/app/main.js app/
+COPY --chown=app:app --from=builder /app/app/pkg app/pkg
 COPY --chown=app:app --from=builder /app/target/release/lldap lldap
 
 ENV LDAP_PORT=3890