cleanup
This commit is contained in:
parent
a5f809eca5
commit
78b9522d03
9
.dockerignore
Normal file
9
.dockerignore
Normal file
@ -0,0 +1,9 @@
|
||||
.github
|
||||
.idea
|
||||
vscode
|
||||
node_modules
|
||||
Dockerfile
|
||||
docker-compose.yml
|
||||
.env*
|
||||
.dockerignore
|
||||
.gitignore
|
@ -4,7 +4,7 @@ ARG PORT
|
||||
ENV PORT=$PORT
|
||||
|
||||
COPY . .
|
||||
RUN npm install && npm run build
|
||||
RUN npm install && npm run build && rm -rf src
|
||||
|
||||
CMD ["node", "dist/main.js"]
|
||||
EXPOSE $PORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user