mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
30 lines
433 B
Docker
Executable File
30 lines
433 B
Docker
Executable File
#
|
|
# Fyipe Home Dockerfile
|
|
#
|
|
|
|
# Pull base image nodejs image.
|
|
FROM node:10
|
|
|
|
#SET ENV Variables.
|
|
ENV PRODUCTION=true
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package.json /usr/src/app/
|
|
RUN npm install
|
|
RUN npm install -g serve
|
|
RUN npm install -g eslint
|
|
|
|
# Bundle app source
|
|
COPY . /usr/src/app
|
|
|
|
# Expose ports.
|
|
# - 1444: CloudBoost Fyipe Home
|
|
EXPOSE 3006
|
|
|
|
#Run the app
|
|
CMD [ "npm", "start" ]
|