mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-26 09:46:19 -04:00
Integrates docker.
This commit is contained in:
parent
993b484396
commit
f418dc26b8
5 changed files with 53 additions and 74 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: "3"
|
||||
services:
|
||||
node:
|
||||
image: "node:lts-alpine"
|
||||
user: "node"
|
||||
working_dir: /home/node/app
|
||||
volumes:
|
||||
- ./server/:/home/node/app
|
||||
command: ash -c "npm i && node index.js"
|
||||
nginx:
|
||||
image: "nginx:alpine"
|
||||
volumes:
|
||||
- ./client:/usr/share/nginx/html
|
||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "8080:80"
|
Loading…
Add table
Add a link
Reference in a new issue