codex-frontend/docker/build-docker.bat
Slava 18d5e73e13
Configure automated Docker builds (#11)
* Configure automated Docker builds (#10)

* Fix Nginx template loading (#10)
2023-12-01 10:24:51 +02:00

10 lines
291 B
Batchfile

:: Variables
set REPOSITORY=thatbenbierens/codex-frontend
set TAG=initial
set APP_SRC=../frontend
set NGINX_TEMPLATE=docker/nginx.template
:: Build
docker build --build-arg APP_SRC=%APP_SRC% --build-arg NGINX_TEMPLATE=%NGINX_TEMPLATE% -t %REPOSITORY%:%TAG% .
docker push %REPOSITORY%:%TAG%