Skip to content

Commit 8f36d9a

Browse files
committed
Fix not finding template files on Docker
1 parent 5b7ec07 commit 8f36d9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ FROM ubuntu:bionic AS binary
2020
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
2121
ca-certificates
2222

23+
RUN mkdir -p /opt/triagebot
24+
2325
COPY --from=build /target/release/triagebot /usr/local/bin/
26+
COPY templates /opt/triagebot/templates
27+
WORKDIR /opt/triagebot
2428
ENV PORT=80
2529
CMD triagebot

0 commit comments

Comments
 (0)