From 7a85e0fed2bbb05c677385b7601fbeaa5d2c2ee4 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 24 Jul 2024 01:22:00 +0300 Subject: [PATCH] add missing dirs to the API dockerfile --- api/Dockerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 14a2f6e..30406fa 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -2,15 +2,17 @@ FROM golang:1.22.5 WORKDIR /app -COPY *.go ./ -COPY *.mod ./ -COPY *.sum ./ +COPY *.go ./ +COPY *.mod ./ +COPY *.sum ./ COPY Makefile ./ -COPY routes ./routes -COPY util ./util +COPY routes ./routes +COPY global ./global +COPY database ./database +COPY util ./util EXPOSE 7001 -RUN go build +RUN make ARG PASSWORD ENV PASSWORD $PASSWORD