mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
24 lines
371 B
Docker
24 lines
371 B
Docker
|
# Pull base image nodejs image.
|
||
|
FROM node:boron
|
||
|
|
||
|
#Maintainer.
|
||
|
MAINTAINER Rex Raphael <rex.raphael@outlook.com>
|
||
|
|
||
|
|
||
|
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 . /usr/src/app
|
||
|
|
||
|
# Expose ports.
|
||
|
# - 1445: CloudBoost Dcos
|
||
|
EXPOSE 1445
|
||
|
|
||
|
#Run the app
|
||
|
CMD [ "npm", "start" ]
|