[add] librephotos
This commit is contained in:
parent
ebc53109d4
commit
a23428dec3
44 changed files with 2123 additions and 0 deletions
14
librephotos-docker/backend/Dockerfile
Normal file
14
librephotos-docker/backend/Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM reallibrephotos/librephotos-dependencies:dev
|
||||
# actual project
|
||||
ARG DEBUG
|
||||
WORKDIR /code
|
||||
RUN git clone --depth 1 https://github.com/LibrePhotos/librephotos .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN if [ "$DEBUG" = 1 ] ; then \
|
||||
pip install setuptools==57.5.0; \
|
||||
pip install -r requirements.dev.txt; \
|
||||
fi
|
||||
EXPOSE 8001
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
CMD ["/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue