mirror of
https://github.com/zhigang1992/server-components-demo.git
synced 2026-01-12 09:33:54 +08:00
* 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
13 lines
154 B
Docker
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" ]
|