зеркало из https://github.com/mozilla/MozDef.git
Remove base dependency from meteor container
This commit is contained in:
Родитель
1dc3d70f5c
Коммит
764de94426
|
@ -157,10 +157,10 @@ services:
|
|||
context: ../../
|
||||
dockerfile: docker/compose/mozdef_meteor/Dockerfile
|
||||
restart: always
|
||||
command: bash -c 'source /opt/mozdef/envs/python/bin/activate && node bundle/main.js'
|
||||
command: bash -c 'node bundle/main.js'
|
||||
depends_on:
|
||||
- base
|
||||
- bootstrap
|
||||
- mongodb
|
||||
- rest
|
||||
networks:
|
||||
- default
|
||||
rest:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM mozdef_base:latest
|
||||
FROM centos:7
|
||||
|
||||
MAINTAINER mozdef@mozilla.com
|
||||
|
||||
|
@ -11,6 +11,8 @@ ENV ROOT_URL=http://localhost
|
|||
ENV PORT=3000
|
||||
|
||||
RUN \
|
||||
useradd -ms /bin/bash -d /opt/mozdef -m mozdef && \
|
||||
mkdir -p /opt/mozdef/envs/mozdef && \
|
||||
cd /opt/mozdef && \
|
||||
curl -sL -o /opt/mozdef/nodesource.rpm https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm && \
|
||||
rpm -i --nosignature --force /opt/mozdef/nodesource.rpm && \
|
||||
|
|
Загрузка…
Ссылка в новой задаче