File name -
FROM node:12.16.3 # Create app directory WORKDIR /usr/src/app # Install app dependencies COPY package.json . # For [email protected] or later, copy package-lock.json as well # COPY package.json package-lock.json . RUN npm install # Bundle app source COPY . . EXPOSE 1337 # CMD ["npm","run", "codeceptjs"] CMD [ "npm", "start" ]
docker build -t cashflowy .
when you check for images with
docker images, you should see your newly created image.
Expect the first build to take a long time.
if you want to use resources from the host such as redis or postgres, instead of setting the host as
localhost, set the host as
file name -
This was resolved when more packages was installed. Not sure how this happened.