oneuptime/licensing/Dockerfile
2020-11-18 19:04:24 +09:00

28 lines
392 B
Docker

#
# Fyipe-licensing Dockerfile
#
# Pull base image nodejs image.
FROM node:15
#SET ENV Variables
ENV PRODUCTION=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.
# - 3004: Fyipe-licensing
EXPOSE 3004
#Run the app
CMD [ "npm", "start"]