- update portainer compose file

This commit is contained in:
oonyeje 2023-11-29 20:29:38 -05:00
parent ee85e319da
commit f764f00984

View File

@ -3,16 +3,12 @@ version: '3'
name: oonyeje-portfolio
services:
app:
image: node:18.8-alpine
build:
context: ./
dockerfile: Dockerfile
image: oonyeje/oonyeje-portfolio:latest
container_name: oonyeje-portfolio
restart: unless-stopped
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"
# These ports are in format <host-port>:<container-port>
- '3000:6000' # Public HTTP Port
env_file:
- stack.env