Skip to content

Commit b8f8d62

Browse files
zbblantonalexellis
authored andcommitted
Added static file support in golang-middleware
Signed-off-by: Zachary Blanton <[email protected]>
1 parent 4783533 commit b8f8d62

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

template/golang-middleware-armhf/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ WORKDIR /home/app
2828

2929
COPY --from=build /go/src/handler/handler .
3030
COPY --from=build /usr/bin/fwatchdog .
31+
COPY --from=build /go/src/handler/function/ .
32+
33+
RUN chown -R app /home/app
3134

3235
USER app
3336

template/golang-middleware/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ WORKDIR /home/app
2828

2929
COPY --from=build /go/src/handler/handler .
3030
COPY --from=build /usr/bin/fwatchdog .
31+
COPY --from=build /go/src/handler/function/ .
32+
33+
RUN chown -R app /home/app
3134

3235
USER app
3336

0 commit comments

Comments
 (0)