mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add production flags
This commit is contained in:
parent
a2d34a5317
commit
c466cc4e69
|
@ -9,4 +9,4 @@ WORKDIR /app
|
|||
|
||||
RUN cd cmd && go build -o Nourybot
|
||||
|
||||
CMD ["/app/cmd/Nourybot"]
|
||||
CMD ["/app/cmd/Nourybot -mode production"]
|
10
Makefile
10
Makefile
|
@ -2,7 +2,11 @@ build:
|
|||
cd cmd && go build -o Nourybot
|
||||
|
||||
run:
|
||||
cd cmd && ./Nourybot
|
||||
cd cmd && ./Nourybot -mode dev
|
||||
|
||||
dev:
|
||||
cd cmd && go build -o Nourybot && ./Nourybot -mode dev
|
||||
|
||||
prod:
|
||||
cd cmd && go build -o Nourybot && ./Nourybot -mode production
|
||||
|
||||
xd:
|
||||
cd cmd && go build -o Nourybot && ./Nourybot
|
||||
|
|
Loading…
Reference in a new issue