mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
e8ce2a77b6
Its defined to `tcp://{ip}:6379` for some reason (maybe in the iojs dockerfile).
17 lines
397 B
Docker
17 lines
397 B
Docker
FROM iojs:latest
|
|
|
|
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
|
|
|
|
ADD . /srv/semaphore
|
|
WORKDIR /srv/semaphore
|
|
|
|
RUN npm install
|
|
RUN ./node_modules/.bin/bower install --allow-root
|
|
|
|
ENV NODE_ENV production
|
|
ENV REDIS_PORT 6379
|
|
CMD ["node", "/srv/semaphore/bin/semaphore"]
|
|
|
|
EXPOSE 80
|