Skip to content

Commit

Permalink
Setting up docker-compose and adding gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
abakarabdelsalam committed May 6, 2022
1 parent 4a6d76c commit 201ecae
Show file tree
Hide file tree
Showing 47 changed files with 33 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3.7"

services:

front:
image: node:16.13
command: >
sh -c "echo 'install all dependencies from package.json' &&
npm install &&
npm install -g @angular/cli@latest &&
echo 'start server' &&
ng serve --open --port 4200 --host 0.0.0.0 --disable-host-check"
working_dir: /home/node/app
volumes:
- ./spacex-angular-front:/home/node/app
ports:
- 4200:4200
6 changes: 6 additions & 0 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions spaceX/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions .gitignore → spacex-angular-front/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ testem.log
# System Files
.DS_Store
Thumbs.db

# Docker-compose folders
../front/
../spacex/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 201ecae

Please sign in to comment.