mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2024-11-24 06:43:44 +03:00
Update Dockerfile-api
use python:3.9.4-slim-buster img
This commit is contained in:
parent
459a7e14b1
commit
8a45f26d2e
|
@ -1,12 +1,10 @@
|
||||||
FROM python:3.8.3-alpine
|
FROM python:3.9.4-slim-buster
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
RUN apk update \
|
RUN apt update && apt install gcc -y
|
||||||
&& apk add gcc python3-dev musl-dev libffi-dev openssl-dev make g++
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR api/api
|
WORKDIR api/api
|
||||||
RUN pip install --upgrade pip; pip install poetry; poetry config virtualenvs.create false; poetry install; poetry add uwsgi
|
RUN pip install --upgrade pip; pip install poetry; poetry config virtualenvs.create false; poetry install; poetry add uwsgi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user