Dockerfile va docker-compose.yml o'zgartirishlar: volumes olib tashlandi, .env qo'shildi

This commit is contained in:
A'zamov Samandar
2025-04-21 13:13:37 +05:00
parent fe388e992c
commit 742b2a57af

View File

@@ -1,4 +1,4 @@
FROM golang:alpine as build FROM golang:alpine AS build
WORKDIR /app WORKDIR /app
@@ -15,5 +15,6 @@ FROM alpine
WORKDIR /app WORKDIR /app
COPY --from=build /app/notification . COPY --from=build /app/notification .
COPY ./.env /app/
CMD ["./notification"] CMD ["./notification"]