mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
27 lines
392 B
Docker
27 lines
392 B
Docker
#
|
|
# Fyipe-backend Dockerfile
|
|
#
|
|
|
|
# Pull base image nodejs image.
|
|
FROM node:16
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
RUN cd /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
|
|
|
|
|
|
RUN npm ci
|
|
|
|
# Expose ports.
|
|
# - 3005: Application Scanner
|
|
EXPOSE 3005
|
|
|
|
#Run the app
|
|
CMD [ "npm", "run", "dev"]
|
|
|