Docker-compose ignored my Dockerfile (

Hi there.
I want to install some software after starting the container. But the problem is that mine docker-compose ignored my Dockerfile. I do not see any errors.

docker-compose:

version: ‘2’
services:
memcached:
image: ‘memcached:alpine’
command:
- ‘sh’
- ‘-euc’
- |
echo ‘mech_list: plain’ > “$$SASL_CONF_PATH”
echo “zulip@$$HOSTNAME:$$MEMCACHED_PASSWORD” > “$$MEMCACHED_SASL_PWDB”
exec memcached -S
environment:
SASL_CONF_PATH: ‘/home/memcache/memcached.conf’
MEMCACHED_SASL_PWDB: ‘/home/memcache/memcached-sasl-db’
MEMCACHED_PASSWORD: ‘Kjiflrf28@’
restart: always
rabbitmq:
image: ‘rabbitmq:3.7.7’
hostname: zulip-rabbit
restart: always
environment:
RABBITMQ_DEFAULT_USER: ‘zulip’
RABBITMQ_DEFAULT_PASS: ‘Kjiflrf28@’
volumes:
- ‘/opt/docker/zulip/rabbitmq:/var/lib/rabbitmq:rw’
redis:
image: ‘redis:alpine’
command:
- ‘sh’
- ‘-euc’
- |
echo “requirepass ‘$$REDIS_PASSWORD’” > /etc/redis.conf
exec redis-server /etc/redis.conf
environment:
REDIS_PASSWORD: ‘Kjiflrf28@’
volumes:
- ‘/opt/docker/zulip/redis:/data:rw’
zulip:
image: ‘zulip/docker-zulip:2.1.4-0’
build:
context: .
dockerfile: Dockerfile.update
args:
# Change these if you want to build zulip from a different repo/branch
ZULIP_GIT_URL: https://github.com/zulip/zulip.git
ZULIP_GIT_REF: 2.1.4
# Set this up if you plan to use your own CA certificate bundle for building
# CUSTOM_CA_CERTIFICATES:
ports:
- ‘8089:80’
environment:
DB_HOST: ‘10.10.2.12’
DB_HOST_PORT: ‘5432’
DB_USER: ‘zulip’
# SSL_CERTIFICATE_GENERATION: ‘self-signed’
SETTING_MEMCACHED_LOCATION: ‘memcached:11211’
SETTING_RABBITMQ_HOST: ‘rabbitmq’
SETTING_REDIS_HOST: ‘redis’
volumes:
- ‘/opt/docker/zulip/zulip:/data:rw’
ulimits:
nofile:
soft: 40000
hard: 50000

container zulip )

Dockerfile:

FROM docker-zulip:2.1.4-0

RUN apt-get update &&
apt-get install -y mc nano net-tools

SO why inored ? & thanks

Please use “</> Preformated text” to retain the formating of your compose and dockerfile.