- add portainer compose file
This commit is contained in:
parent
a568ae5e35
commit
4d116a6cdd
18
portainer-compose.yaml
Executable file
18
portainer-compose.yaml
Executable file
@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
|
||||
name: oonyeje-portfolio
|
||||
services:
|
||||
app:
|
||||
image: node:18.8-alpine
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- .:/home/node/app
|
||||
- ./node_modules:/home/node/app/node_modules
|
||||
working_dir: /home/node/app/
|
||||
command: sh -c "yarn install && yarn dev"
|
||||
env_file:
|
||||
- .env
|
||||
Loading…
x
Reference in New Issue
Block a user