@@ -22,7 +22,7 @@ RUN apk update && apk add --no-cache ffmpeg ffmpeg-libs ca-certificates && updat
|
||||
# Copy owncast assets
|
||||
WORKDIR /app
|
||||
COPY --from=build /build/owncast /app/owncast
|
||||
COPY --from=build /build/config-example.yaml /app/config.yaml
|
||||
COPY --from=build /build/config-default.yaml /app/config.yaml
|
||||
COPY --from=build /build/webroot /app/webroot
|
||||
COPY --from=build /build/static /app/static
|
||||
|
||||
|
||||
@@ -52,10 +52,11 @@ build() {
|
||||
mkdir -p dist/${NAME}/data
|
||||
|
||||
# Default files
|
||||
cp config-example.yaml dist/${NAME}/config.yaml
|
||||
cp config-default.yaml dist/${NAME}/config.yaml
|
||||
cp data/content-example.md dist/${NAME}/data/content.md
|
||||
|
||||
cp -R webroot/ dist/${NAME}/webroot/
|
||||
|
||||
# Copy the production pruned+minified css to the build's directory.
|
||||
cp "${TMPDIR}tailwind.min.css" ./dist/${NAME}/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css
|
||||
cp -R static/ dist/${NAME}/static
|
||||
|
||||
Reference in New Issue
Block a user