Initial commit
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM golang:latest
|
||||
ENV TZ="Asia/Jakarta"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go mod download
|
||||
|
||||
RUN go build -o email-notification
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "./email-notification" ]
|
||||
Reference in New Issue
Block a user