build: update dockerfiles.
This commit is contained in:
parent
263872d5a3
commit
0fd171ff2f
@ -1,3 +1,2 @@
|
||||
.git*
|
||||
.idea*
|
||||
installer/
|
||||
@ -60,5 +60,4 @@ jobs:
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
- name: Docker Buildx (build-and-push)
|
||||
run: |
|
||||
rm -f .dockerignore
|
||||
docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} -f installer/Dockerfile-base
|
||||
@ -65,5 +65,4 @@ jobs:
|
||||
password: ${{ secrets.GH_TOKEN }}
|
||||
- name: Docker Buildx (build-and-push)
|
||||
run: |
|
||||
rm -f .dockerignore
|
||||
docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} -f installer/Dockerfile-vector-model
|
||||
@ -31,7 +31,8 @@ RUN python3 -m venv /opt/py3 && \
|
||||
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" -o -name "README.md" -o -name "poetry.lock" -o -name "pyproject.toml" \) -exec rm -rf {} + && \
|
||||
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
|
||||
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \
|
||||
pip install diskcache2 requests pymysql psycopg2-binary
|
||||
pip install diskcache2 requests pymysql psycopg2-binary && \
|
||||
rm -rf /opt/maxkb-app/installer
|
||||
|
||||
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.4
|
||||
ARG DOCKER_IMAGE_TAG=dev \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user