2024-07-20 01:37:37 +00:00
|
|
|
ARG PHP_VERSION=8.3
|
2024-07-18 02:05:42 +00:00
|
|
|
|
2024-07-20 01:37:37 +00:00
|
|
|
FROM chialab/php:${PHP_VERSION}
|
2024-07-18 02:05:42 +00:00
|
|
|
WORKDIR /app
|
2024-07-20 01:37:37 +00:00
|
|
|
COPY app .
|
|
|
|
RUN composer install \
|
|
|
|
--ignore-platform-reqs \
|
|
|
|
--no-interaction \
|
|
|
|
--no-plugins \
|
|
|
|
--prefer-dist \
|
|
|
|
--no-progress \
|
|
|
|
--optimize-autoloader
|
|
|
|
|
|
|
|
EXPOSE 8000
|
2024-07-18 02:05:42 +00:00
|
|
|
|
|
|
|
CMD [ "php", "server/server.php" ]
|