mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
22 lines
356 B
Docker
Executable File
22 lines
356 B
Docker
Executable File
# Pull base image nodejs image.
|
|
FROM node:16
|
|
|
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package*.json /usr/src/app/
|
|
RUN npm ci --only=production
|
|
|
|
# Bundle app source
|
|
COPY . /usr/src/app
|
|
|
|
# Expose ports.
|
|
# - 1445: Fyipe Docs
|
|
EXPOSE 1445
|
|
|
|
#Run the app
|
|
CMD [ "npm", "start" ] |