mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-29 10:47:53 -04:00
Merge branch 'master' into ci3 (#284)
This commit is contained in:
@@ -12,7 +12,7 @@ before_install:
|
||||
- docker build -t jekkos/opensourcepos .
|
||||
- docker run -d -p 127.0.0.1:80:80 jekkos/opensourcepos /bin/sh -c "cd /app; npm install"
|
||||
- docker ps -a
|
||||
- docker run jekkos/opensourcepos /bin/sh -c "cd /app; npm mochaWebdriver:test"
|
||||
- docker run jekkos/opensourcepos /bin/sh -c "cd /app; grunt mochaWebdriver:test"
|
||||
|
||||
script:
|
||||
- npm mochaWebdriver:test
|
||||
- grunt mochaWebdriver:test
|
||||
|
||||
@@ -14,7 +14,9 @@ RUN apt-get install -y python git
|
||||
# Get latest Ospos source from Git
|
||||
RUN git clone https://github.com/jekkos/opensourcepos.git /app
|
||||
# RUN cd app && git checkout develop/2.4
|
||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
RUN cd app && npm install
|
||||
RUN npm install -g grunt-cli
|
||||
|
||||
RUN ln -fs /app/* /var/www/html
|
||||
ADD ./docker/start_container.sh /start_container.sh
|
||||
|
||||
Reference in New Issue
Block a user