- add portainer compose file

This commit is contained in:
oonyeje 2023-11-29 20:24:18 -05:00
parent a568ae5e35
commit 4d116a6cdd

18
portainer-compose.yaml Executable file
View 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