Files
simple-laravel/Dockerfile_alpine
Ruben Momoa e2840e6a83
All checks were successful
ci/woodpecker/push/build_alpine Pipeline was successful
install composer and npm from the package-manager
2024-08-22 13:33:38 +02:00

18 lines
446 B
Plaintext

FROM php:8-fpm-alpine
ENV NVM_DIR="/root/.nvm"
# 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"]