Add docker-compose dev

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-07-25 16:42:04 +02:00
parent bb1cdc2043
commit c4cfb081e7
8 changed files with 108 additions and 16 deletions

9
js/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:10
LABEL maintainer="tcit"
COPY docker/entrypoint.sh /bin/entrypoint
WORKDIR /app/js
EXPOSE 8080

5
js/docker/entrypoint.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
npm install
npm rebuild node-sass
npm run serve