add Docker conteiner

This commit is contained in:
mrcanelas
2021-08-12 13:26:56 -03:00
parent 110c45440b
commit 41ba3ce6fc
4 changed files with 36 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
README.md
+3
View File
@@ -102,3 +102,6 @@ dist
# TernJS port file
.tern-port
# VS-Code folder
.vscode
+8
View File
@@ -0,0 +1,8 @@
FROM node:14-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 3000
CMD ["npm", "start"]
+1 -1
View File
@@ -1,4 +1,4 @@
{
"projectName": "tmdb-addon",
"lastCommit": "17be8a9"
"lastCommit": "110c454"
}