Commit 70e1c84d authored by guglielmo's avatar guglielmo

gitlab-ci corrected; ps command can now be invoked inside the web container;

parent d8e9d145
......@@ -135,7 +135,7 @@ deploy_staging:
- echo "$CA" > $DOCKER_CERT_PATH/ca.pem
- echo "$CLIENT_CERT" > $DOCKER_CERT_PATH/cert.pem
- echo "$CLIENT_KEY" > $DOCKER_CERT_PATH/key.pem
- docker build --compress -t openpolis/sources-verification:latest .
- docker build --compress -t openpolis/opsv:latest .
- docker-compose down
- docker-compose up -d --build --force-recreate
- docker exec opsv_web python manage.py collectstatic --noinput
......
FROM python:3.6-slim
# update, upgrade and install useful tools and aliases
RUN apt-get -y update \
RUN apt-get -y update && apt-get install -y procps \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get -y upgrade \
&& apt-get install -y --no-install-recommends git-core tmux vim locales\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment