Add publics to docker imge

This commit is contained in:
Brieuc Dubois 2023-12-22 23:56:11 +01:00
parent c814505b8d
commit efad3bb70b
1 changed files with 9 additions and 7 deletions

View File

@ -16,12 +16,14 @@ ENV DATA=/data
EXPOSE 80 EXPOSE 80
WORKDIR /app
COPY --from=builder /app/bin/trakr .
RUN chmod +x /app/trakr
RUN mkdir /data RUN mkdir /data
ENTRYPOINT ["/app/trakr"] WORKDIR /app
COPY --from=builder /app/bin bin
COPY --from=builder /app/public public
RUN chmod +x /app/bin/trakr
ENTRYPOINT ["/app/bin/trakr"]