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:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./dockerfiles/Python
|
file: ./dockerfiles/Python
|
||||||
|
build-args:
|
||||||
|
MODULE_NAME=pyMetadata
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
bskjon/mediaprocessing-pymetadata:v2
|
bskjon/mediaprocessing-pymetadata:v2
|
||||||
|
|||||||
@ -6,11 +6,11 @@ FROM python:3.11
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Kopier requirements.txt-filen og installer avhengigheter
|
# 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
|
RUN pip3 install -r ./requirements.txt
|
||||||
|
|
||||||
# Kopier resten av prosjektfilene
|
# Kopier resten av prosjektfilene
|
||||||
COPY . .
|
COPY ./apps/${MODULE_NAME}/ .
|
||||||
|
|
||||||
# Start applikasjonen
|
# Start applikasjonen
|
||||||
CMD ["python3", "-u", "app.py"]
|
CMD ["python3", "-u", "app.py"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user