mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
chore: make image recognition work in docker
Refs: OPS-85
This commit is contained in:
parent
665f69987b
commit
96e081fff1
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.12-alpine AS base
|
FROM python:3.11 AS base
|
||||||
|
|
||||||
ENV POETRY_VIRTUALENVS_CREATE=true
|
ENV POETRY_VIRTUALENVS_CREATE=true
|
||||||
ENV FLASK_APP=senju/main.py
|
ENV FLASK_APP=senju/main.py
|
||||||
|
|
@ -10,9 +10,9 @@ WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk add curl bash jq
|
RUN apt update && apt install curl bash jq
|
||||||
RUN pip install poetry
|
RUN pip install poetry
|
||||||
RUN poetry install
|
RUN poetry install -v
|
||||||
|
|
||||||
FROM base as dev
|
FROM base as dev
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue