From 3d253881daa78aa11d6ae82f3beca5d18a8a203e Mon Sep 17 00:00:00 2001 From: Jack Stockley Date: Tue, 22 Nov 2022 16:17:55 +0000 Subject: [PATCH] fix(docker): fix internal folder structure within the image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59dedce..77339c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,11 @@ WORKDIR /app COPY go.mod /app COPY go.sum /app COPY main.go /app -COPY sql /app -COPY static /app -COPY templates /app COPY .env_db /app COPY .env_app /app +ADD sql /app/sql +ADD static /app/static +ADD templates /app/templates RUN chown -R appuser:appgroup /app RUN chown -R appuser:appgroup /go/bin