Files
simple-laravel/Dockerfile
Ruben Momoa ee86e83bee
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful
dynamic FROM
2024-08-22 16:18:26 +02:00

18 lines
452 B
Docker

ARG BASE_VERSION
FROM php:${BASE_VERSION}-fpm-alpine
# port to for the webserver
ENV WEBSERVER_PORT=8080
COPY start-container.sh /usr/local/bin/start-container
RUN apk add --no-cache curl-dev libxml2-dev oniguruma-dev composer npm \
&& docker-php-ext-install ctype curl dom fileinfo filter mbstring pdo session xml \
&& chmod +x /usr/local/bin/start-container
EXPOSE ${WEBSERVER_PORT}
WORKDIR /var/www/html
ENTRYPOINT ["start-container"]