Includes: * Include registry in container name Otherwise it won't find the image in case an alias doesn't exist. * Simplify spandx config * Include healthchecks for the postgres and image-builder containers
12 lines
131 B
Docker
12 lines
131 B
Docker
FROM docker.io/node:12
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 8002
|
|
CMD [ "npm", "start" ]
|