mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
30 lines
430 B
Docker
30 lines
430 B
Docker
#
|
|
# Fyipe Docs Dockerfile
|
|
#
|
|
|
|
# Pull base image nodejs image.
|
|
FROM node:16
|
|
|
|
#SET ENV Variables
|
|
|
|
|
|
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 ci
|
|
|
|
# Expose ports.
|
|
# - 3423: Fyipe Helm Chart Server
|
|
EXPOSE 3423
|
|
|
|
# Expose Debugger port
|
|
EXPOSE 9229
|
|
|
|
#Run the app
|
|
CMD [ "npm", "run", "dev" ]
|