mirror of
https://github.com/Lanakod-Networks/snort-docker.git
synced 2025-07-04 13:26:38 +03:00
11 lines
246 B
Bash
11 lines
246 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Run Next.js build with passed arguments
|
|
next build "$@"
|
|
|
|
# Copy files only if not in a CI environment
|
|
if [ -z "$CI" ]; then
|
|
cp -r ./public ./.next/standalone/public
|
|
cp -r ./.next/static ./.next/standalone/.next/static
|
|
fi |