Skip to content

Commit e865096

Browse files
committed
fix: docker build and dcupd is meant to be ran from application root
Which is the directory above the docker/ submodule folder. Building the image is best done through docker compose build with a dedicated production compose file.
1 parent 68a68be commit e865096

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frankenphp/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN set -eux; \
2929
@composer \
3030
xdebug;
3131

32-
COPY --link ./docker/frankenphp/php.ini-development ${PHP_INI_DIR}/php.ini
32+
COPY --link ./frankenphp/php.ini-development ${PHP_INI_DIR}/php.ini
3333

3434
#
3535
# Production
@@ -65,7 +65,7 @@ RUN set -eux; \
6565

6666
# Replace the official binary by the one containing our custom modules
6767
COPY --from=caddy-builder /usr/local/bin/frankenphp /usr/local/bin/frankenphp
68-
COPY --link ./docker/frankenphp/Caddyfile /etc/caddy/Caddyfile
69-
COPY --link --chmod=755 ./docker/frankenphp/docker-php-entrypoint.sh /usr/local/bin/docker-php-entrypoint>
68+
COPY --link ./frankenphp/Caddyfile /etc/caddy/Caddyfile
69+
COPY --link --chmod=755 ./frankenphp/docker-php-entrypoint.sh /usr/local/bin/docker-php-entrypoint>
7070

7171
COPY . ./

0 commit comments

Comments
 (0)