소스 검색

Merge pull request #1242 from giraffate/fix_not_finding_template_files

Fix not finding template files
Mark Rousskov 4 년 전
부모
커밋
26375ea140
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      Dockerfile

+ 4 - 0
Dockerfile

@@ -20,6 +20,10 @@ FROM ubuntu:bionic AS binary
 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
     ca-certificates
 
+RUN mkdir -p /opt/triagebot
+
 COPY --from=build /target/release/triagebot /usr/local/bin/
+COPY templates /opt/triagebot/templates
+WORKDIR /opt/triagebot
 ENV PORT=80
 CMD triagebot