Set VERSION_NUMBER in Dockerfile
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Lukáš Kucharczyk 2023-01-03 22:04:46 +01:00
parent e4cd75d51f
commit 6102459637
1 changed files with 1 additions and 0 deletions

View File

@ -12,4 +12,5 @@ COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
USER timetracker USER timetracker
EXPOSE 8000 EXPOSE 8000
ENV VERSION_NUMBER $(git describe --tags --abbrev=0)
ENTRYPOINT [ "/entrypoint.sh" ] ENTRYPOINT [ "/entrypoint.sh" ]