diff --git a/laravel-echo-server/Dockerfile b/laravel-echo-server/Dockerfile index 658da3ff..6a338f45 100644 --- a/laravel-echo-server/Dockerfile +++ b/laravel-echo-server/Dockerfile @@ -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" ] \ No newline at end of file +CMD [ "npm", "start" ]