midrashim/docker-compose.yml

17 lines
359 B
YAML

services:
payload:
container_name: "midrashim"
image: node:18-alpine
ports:
- '${PORT}:${PORT}'
volumes:
- .:/home/node/app
- node_modules:/home/node/app/node_modules
working_dir: /home/node/app/
command: sh -c "npm install && npm run build && npm start"
env_file:
- .env
volumes:
data:
node_modules: