add local build to docker compose

This commit is contained in:
Lee 2023-07-01 22:22:16 +01:00
parent 7f6cd99d76
commit 7860f5eb53

View File

@ -3,6 +3,10 @@ version: "3.4"
services:
next-app:
build: https://git.fascinated.cc/Fascinated/personal-website.git
# Use this if you want to build the image locally
# build: .
# image: fascinated/personal-website
restart: always
environment:
NODE_ENV: production
ports: