Fix docker
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -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"
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:alpine as base
|
FROM node:alpine
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|||||||
Reference in New Issue
Block a user