Changed python
This commit is contained in:
parent
af5e1613be
commit
9365e19237
2
.github/workflows/v2.yml
vendored
2
.github/workflows/v2.yml
vendored
@ -252,6 +252,8 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: ./dockerfiles/Python
|
||||
build-args:
|
||||
MODULE_NAME=pyMetadata
|
||||
push: true
|
||||
tags: |
|
||||
bskjon/mediaprocessing-pymetadata:v2
|
||||
|
||||
@ -6,11 +6,11 @@ FROM python:3.11
|
||||
WORKDIR /app
|
||||
|
||||
# Kopier requirements.txt-filen og installer avhengigheter
|
||||
COPY requirements.txt requirements.txt
|
||||
COPY ./apps/${MODULE_NAME}/requirements.txt requirements.txt
|
||||
RUN pip3 install -r ./requirements.txt
|
||||
|
||||
# Kopier resten av prosjektfilene
|
||||
COPY . .
|
||||
COPY ./apps/${MODULE_NAME}/ .
|
||||
|
||||
# Start applikasjonen
|
||||
CMD ["python3", "-u", "app.py"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user