Dockerfile va docker-compose.yml o'zgartirishlar: volumes olib tashlandi, .env qo'shildi
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user