Files
infoscreen3/Dockerfile
T
2019-01-17 01:35:47 +02:00

20 lines
357 B
Docker

# Nice fresh and new base
FROM node:10-alpine
# Create directory for our app
WORKDIR /usr/src/infoscreen
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
COPY config-default.js config.js
# Port will be 8000 by default unless run wih ex. -e PORT=8080
EXPOSE 8000 8001 1935
# Let's GO!
CMD [ "npm", "start" ]