This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.14 AS builder | |
WORKDIR /go/src/app | |
COPY . . | |
RUN sh build.sh | |
FROM alpine:latest | |
RUN apk --no-cache add ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{* Smarty *} | |
{capture name='_smarty_debug' assign=debug_output} | |
<script type="text/javascript"> | |
// <![CDATA[ | |
window.smarty ={}; | |
{if $assigned_vars != null} | |
{foreach $assigned_vars as $vars} | |
window.smarty['{$vars@key|escape:'javascript'}'] = {$vars|@json_encode nofilter}; | |
{/foreach} |