mirror of
https://github.com/AlexTatiyants/pev.git
synced 2024-10-03 22:57:58 +03:00
commit
6d31cdd75f
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
FROM debian:jessie
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y install apt-transport-https curl g++ make python ruby
|
||||||
|
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
|
||||||
|
|
||||||
|
RUN apt-get -y install nodejs
|
||||||
|
|
||||||
|
COPY tsdrc ~/.tsdrc
|
||||||
|
|
||||||
|
COPY . /var/www/pev
|
||||||
|
|
||||||
|
WORKDIR /var/www/pev
|
||||||
|
|
||||||
|
RUN npm install -g gulp
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
CMD cd /var/www/pev && npm start
|
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
pev:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
volumes:
|
||||||
|
- ./:/var/www/pev/
|
Loading…
Reference in New Issue
Block a user