1
0
Fork 0
mirror of synced 2024-06-14 08:44:49 +12:00

feat: add version to dockerfile

This commit is contained in:
Christy Jacob 2023-08-13 14:20:29 +00:00
parent d9307724db
commit b0f5a0e677
2 changed files with 3 additions and 1 deletions

View file

@ -33,9 +33,12 @@ FROM appwrite/base:0.2.2 as final
LABEL maintainer="team@appwrite.io"
ARG VERSION=dev
ARG DEBUG=false
ENV DEBUG=$DEBUG
ENV _APP_VERSION=$VERSION
RUN \
if [ "$DEBUG" == "true" ]; then \
apk add boost boost-dev; \

View file

@ -95,7 +95,6 @@ services:
- -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php
environment:
- _APP_ENV
- _APP_VERSION
- _APP_WORKER_PER_CORE
- _APP_LOCALE
- _APP_CONSOLE_WHITELIST_ROOT