oneuptime/dashboard/Dockerfile.dev

27 lines
426 B
Docker
Raw Normal View History

2021-06-21 21:08:35 +00:00
#
# 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" ]