diff --git a/docker/core/Dockerfile b/auth/Dockerfile similarity index 100% rename from docker/core/Dockerfile rename to auth/Dockerfile diff --git a/docker/mail/Dockerfile b/core/Dockerfile similarity index 100% rename from docker/mail/Dockerfile rename to core/Dockerfile diff --git a/docker/auth/Dockerfile b/docker/auth/Dockerfile deleted file mode 100644 index 1c25a62..0000000 --- a/docker/auth/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM golang:latest - -WORKDIR /go/src/app - -COPY . . - -RUN go mod download - diff --git a/docker/auth/README.md b/docker/auth/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/docker/core/README.md b/docker/core/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml deleted file mode 100644 index e69de29..0000000 diff --git a/docker/mail/README.md b/docker/mail/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/mail/Dockerfile b/mail/Dockerfile new file mode 100644 index 0000000..d93d5ad --- /dev/null +++ b/mail/Dockerfile @@ -0,0 +1,6 @@ +FROM golang:latest +RUN mkdir /app +COPY . /app +WORKDIR /app/auth/cmd/main +RUN go build -o main +CMD [ "/app/cmd/main/main" ] \ No newline at end of file