oneuptime/application-scanner/Dockerfile.dev
2021-06-25 21:47:10 +01:00

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"]