mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
27 lines
426 B
Docker
27 lines
426 B
Docker
|
#
|
||
|
# Fyipe Docs Dockerfile
|
||
|
#
|
||
|
|
||
|
# Pull base image nodejs image.
|
||
|
FROM node:16
|
||
|
|
||
|
#SET ENV Variables
|
||
|
|
||
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
# Copy package.json files
|
||
|
COPY ./package.json /usr/src/app/package.json
|
||
|
COPY ./package-lock.json /usr/src/app/package-lock.json
|
||
|
|
||
|
# Install app dependencies
|
||
|
RUN npm install
|
||
|
|
||
|
# Expose ports.
|
||
|
# - 1445: Fyipe Docs
|
||
|
EXPOSE 1445
|
||
|
|
||
|
#Run the app
|
||
|
CMD [ "npm", "run", "dev" ]
|