This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo .idea >> .gitignore | |
git rm -r --cached .idea | |
git add .gitignore | |
git add -u .idea/ | |
git commit -m "remove the .idea folder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '.env' >> .gitignore | |
git rm -r --cached .env | |
git add .gitignore | |
git commit -m 'untracking .env' | |
git push origin master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine as base | |
WORKDIR /src | |
COPY package.json package-lock.json /src/ | |
COPY . /src | |
EXPOSE 8080 | |
FROM base as production | |
ENV NODE_ENV=production |
OlderNewer