You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have a lot of experience with Docker & images, but dont know where to look about this problem.
I'm trying to create a custom image starting from phppm/nginx, and then use that image from docker-compose. But when specifing the "command" (debug and static-directory options) is not using them.
# Dockerfile in phpdocker/php-ppm/Dockerfile
FROM phppm/nginx
RUN apk --no-cache add git
RUN apk --no-cache add ca-certificates wget php7-iconv php7-ftp \
&& rm -rf /var/lib/apk/*
# whatever you need
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
After building the image with: docker build phpdocker/php-ppm -t publisher/ppm-ws
Using the previous image within docker-compose: (pay attention to "image")
Why is not using "static-directory" and "debug"?
Or better yet, how could I change this? Also tried with "environment" within docker-compose without success :(
Thank you guys for this!
The text was updated successfully, but these errors were encountered:
I don't have a lot of experience with Docker & images, but dont know where to look about this problem.
I'm trying to create a custom image starting from phppm/nginx, and then use that image from docker-compose. But when specifing the "command" (debug and static-directory options) is not using them.
After building the image with:
docker build phpdocker/php-ppm -t publisher/ppm-ws
Using the previous image within docker-compose: (pay attention to "image")
Now executing
docker-compose up ppm
shows this:Why is not using "static-directory" and "debug"?
Or better yet, how could I change this? Also tried with "environment" within docker-compose without success :(
Thank you guys for this!
The text was updated successfully, but these errors were encountered: