build stuff
This commit is contained in:
parent
f7b60f2c52
commit
782dd4cb17
@ -3,7 +3,6 @@ npm-debug.log
|
|||||||
Dockerfile*
|
Dockerfile*
|
||||||
docker-compose*
|
docker-compose*
|
||||||
.dockerignore
|
.dockerignore
|
||||||
.git
|
|
||||||
.gitignore
|
.gitignore
|
||||||
README.md
|
README.md
|
||||||
LICENSE
|
LICENSE
|
||||||
|
@ -30,6 +30,11 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-de
|
|||||||
|
|
||||||
#Copy project and execute it.
|
#Copy project and execute it.
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
# collect information from git repositories
|
||||||
RUN /opt/recipes/venv/bin/python version.py
|
RUN /opt/recipes/venv/bin/python version.py
|
||||||
|
# delete git repositories to reduce image size
|
||||||
|
RUN find . -type d -name ".git" | xargs rm -rf
|
||||||
|
|
||||||
RUN chmod +x boot.sh
|
RUN chmod +x boot.sh
|
||||||
ENTRYPOINT ["/opt/recipes/boot.sh"]
|
ENTRYPOINT ["/opt/recipes/boot.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user