Merge pull request #1246 from axit-joost/master

Fixes laradock/laradock#1245 by adding python to the image
This commit is contained in:
Mahmoud Zalt 2017-11-13 20:27:07 +02:00 committed by GitHub
commit de247a074e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,22 @@
FROM node:alpine
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN apk add --update \
python \
python-dev \
py-pip \
build-base
RUN npm install
# Bundle app source
COPY laravel-echo-server.json /usr/src/app/laravel-echo-server.json
EXPOSE 3000
CMD [ "npm", "start" ]
CMD [ "npm", "start" ]