Files
server-components-demo/Dockerfile
Jon Jaques 587abb9b49 Fixes docker-compose & pg initialization (#10)
* Fixes docker-compose & pg initialization

 - ./scripts/init_db.sh is not executable (/bin/bash: bad interpreter: Permission denied)
 - same script fails because user is already created, only table creation is necessary.

* Actually fix docker-compose development workflow

* Incorporate PR feedback

* Remove credentials.json
2020-12-22 14:14:21 -05:00

13 lines
154 B
Docker

FROM node:14.15.3
WORKDIR /opt/notes-app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
ENTRYPOINT [ "npm", "run" ]
CMD [ "start" ]