diff --git a/Dockerfile b/Dockerfile index 4b10f24..8c7396c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ WORKDIR /app RUN cd cmd && go build -o Nourybot -CMD ["/app/cmd/Nourybot"] \ No newline at end of file +CMD ["/app/cmd/Nourybot -mode production"] \ No newline at end of file diff --git a/Makefile b/Makefile index aa53781..2f9efa9 100644 --- a/Makefile +++ b/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