From bb439b88806091a33a56c38968e23eaea38beeed Mon Sep 17 00:00:00 2001 From: cant-code Date: Tue, 26 Mar 2024 21:05:13 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e51df1d..9b959b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,9 @@ RUN adduser \ # Copy the executable from the "build" stage. COPY ./bin/app /bin +# Copy Database migrations to the container +COPY ./database /bin + # Assign file to user and give execute flag to file RUN chown appuser /bin/app RUN chmod +x /bin/app