This commit is contained in:
parent
2782d6d43d
commit
0aa9488627
@ -40,8 +40,7 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./images/base
|
||||
# Note: Linux is case-sensitive. If your file is literally lowercase "dockerfile", change this to "dockerfile"
|
||||
file: ./images/base/Dockerfile
|
||||
file: ./images/base/dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta-base.outputs.tags }}
|
||||
labels: ${{ steps.meta-base.outputs.labels }}
|
||||
@ -62,7 +61,7 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./images/jupyter
|
||||
file: ./images/jupyter/Dockerfile
|
||||
file: ./images/jupyter/dockerfile
|
||||
push: true
|
||||
build-args: |
|
||||
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME }}:${{ steps.meta-base.outputs.version }}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
ARG BASE_IMAGE=registry.bouvais.lu/tenant-base:1.0.0
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
LABEL org.opencontainers.image.title="tenant-jupyter" \
|
||||
@ -13,7 +12,7 @@ RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
||||
USER appuser
|
||||
WORKDIR /home/appuser/work
|
||||
|
||||
COPY --chown=appuser:appuser test_script.py /home/appuser/test_script.py
|
||||
COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_script.py
|
||||
|
||||
EXPOSE 8888
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ name: "b"
|
||||
|
||||
image:
|
||||
repository: registry.bouvais.lu/tenant-jupyter
|
||||
tag: "latest"
|
||||
tag: "1.0.0"
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user