15 lines
291 B
Docker
15 lines
291 B
Docker
|
FROM node:argon
|
||
|
|
||
|
# Create app directory
|
||
|
RUN mkdir -p /usr/src/app
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
# Install app dependencies
|
||
|
COPY package.json /usr/src/app/
|
||
|
RUN npm install
|
||
|
|
||
|
# Bundle app source
|
||
|
COPY laravel-echo-server.json /usr/src/app/laravel-echo-server.json
|
||
|
|
||
|
EXPOSE 3000
|
||
|
CMD [ "npm", "start" ]
|