fix: builds worker & scheduler FROM app
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM dunglas/frankenphp
|
||||
FROM dunglas/frankenphp:php8.4
|
||||
|
||||
ENV SERVER_NAME=":80"
|
||||
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
|
||||
|
||||
@@ -1,22 +1,6 @@
|
||||
FROM dunglas/frankenphp:php8.4-alpine
|
||||
ARG APP_VERSION
|
||||
|
||||
ENV SERVER_NAME=":80"
|
||||
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
|
||||
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
|
||||
|
||||
ARG APP_VERSION="0.dev"
|
||||
ENV APP_VERSION="${APP_VERSION}"
|
||||
|
||||
RUN install-php-extensions \
|
||||
pdo_mysql \
|
||||
gd \
|
||||
intl \
|
||||
zip \
|
||||
opcache
|
||||
|
||||
RUN apk add --no-cache wget
|
||||
|
||||
COPY . /app
|
||||
FROM code.caldwell.digital/torsearch/torsearch-app:${APP_VERSION}
|
||||
|
||||
ENTRYPOINT [ "php", "/app/bin/console", "messenger:consume", "async" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user