diff --git a/.vscode/settings.json b/.vscode/settings.json index f22d945..6f12c8b 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "docker.commands.build": "${containerCommand} build --rm -f \"${dockerfile}\" -t bot_laytho:latest \"${context}\"" + "docker.commands.build": "docker build --rm -f \"${dockerfile}\" -t bot_laytho:latest -t localhost:5000/bot_laytho:latest \"${context}\" && docker push localhost:5000/bot_laytho:latest" } \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 4ee1778..d3a49f1 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as base +FROM node:alpine ENV NODE_ENV=production WORKDIR /usr/src/app