docker: fix wrong cmd to build auth-service
This commit is contained in:
parent
0ccbfe4f9a
commit
c3aef63c48
3 changed files with 5 additions and 3 deletions
|
|
@ -251,11 +251,13 @@ The response format will be:
|
|||
```
|
||||
docker build -f app-config/api-app/Dockerfile -t api-app .
|
||||
docker build -f app-config/calculator-app/Dockerfile -t calculator-app .
|
||||
docker build -f app-config/auth-service/Dockerfile -t auth-service .
|
||||
docker build ./app-config/auth-service -t auth-service
|
||||
```
|
||||
|
||||
If you are using a computer with ARM CPU (Mac M1/2/3), then add the arg `--platform linux/arm64` to the docker build cmd.
|
||||
|
||||
If you need to debug the Docker build, add the args `--no-cache --progress=plain` to see a more verbose output in your terminal.
|
||||
|
||||
Get the client secret from the CERN Application portal for the `caimira-test` app. See [CERN-SSO-integration](#cern-sso-integration) for more info.
|
||||
```
|
||||
read CLIENT_SECRET
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
FROM registry.cern.ch/docker.io/condaforge/mambaforge as conda
|
||||
|
||||
RUN mamba create --yes -p /opt/app python=3.9
|
||||
RUN mamba create --yes -p /opt/app python=3.12
|
||||
COPY . /opt/app-source
|
||||
|
||||
RUN conda run -p /opt/app python -m pip install /opt/app-source
|
||||
RUN cd /opt/app \
|
||||
&& find -name '*.a' -delete \
|
||||
|
|
|
|||
|
|
@ -50,4 +50,3 @@ services:
|
|||
condition: service_started
|
||||
auth-service:
|
||||
condition: service_started
|
||||
user: ${CURRENT_UID}
|
||||
|
|
|
|||
Loading…
Reference in a new issue