Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dockerfiles
FROM node
WORKDIR /src
ADD . /src
RUN yarn
EXPOSE 3000
CMD ["npm", "start"]
FROM php:7.0-apache
COPY . /var/www/html/
// $ docker build -t my-php-app .
// $ docker run -d my-php-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment