skip to Main Content

How to install /usr/bin/npm with Docker

I have the following Dockerfile. It correctly installs /usr/bin/node but not /usr/bin/npm. What do I need to add/change to fix this? FROM php:8.3-apache COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer RUN apt-get update && apt-get install -y gnupg && mkdir -p /etc/apt/keyrings &&…

VIEW QUESTION

Multi Site PHP-Apache docker

I've been trying to build a multi site Apache docker but all in vain. Here is my docker-compose.yml version: '3.9' services: app: container_name: Core build: context: ./conf/core args: UID: ${UID:-1000} env_file: - "./.env" ports: - "${HTTP_PORT:-80}:80" - "${HTTPS_PORT:-443}:443" volumes: -…

VIEW QUESTION
Back To Top
Search