mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
17 lines
388 B
Docker
17 lines
388 B
Docker
FROM iojs:onbuild
|
|
|
|
RUN ln -snf /usr/bin/nodejs /usr/bin/node
|
|
RUN apt-get update && apt-get install -y python-dev build-essential python-pip git && pip install ansible && apt-get clean
|
|
RUN npm install -g bower less
|
|
|
|
ADD . /srv/semaphore
|
|
WORKDIR /srv/semaphore
|
|
|
|
RUN bower install --allow-root
|
|
RUN npm install
|
|
|
|
ENV NODE_ENV production
|
|
CMD ["node", "/srv/semaphore/bin/semaphore"]
|
|
|
|
EXPOSE 80
|