I am trying to create a docker container for my angular that has php file in it. Angular requires npm so I need to have nodejs installed. I don't need apache for my project, just pure php should work fine.
My understanding is I should have a
FROM node:latest
..install php here
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app
RUN npm install
COPY . /usr/src/app
I am not sure how to install php in my case, Can anyone point me to the right direction? Thanks a lot!
via Jwqq
No comments:
Post a Comment