add local build to docker compose

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

@ -3,6 +3,10 @@ version: "3.4"
services: services:
next-app: next-app:
build: https://git.fascinated.cc/Fascinated/personal-website.git 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: environment:
NODE_ENV: production NODE_ENV: production
ports: ports: