dockerfile fix
This commit is contained in:
parent
f74358be76
commit
aa55e952aa
|
@ -1,11 +1,11 @@
|
|||
FROM python:alpine3.18
|
||||
FROM python:alpine
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN apk update && apk add --no-cache git gcc curl postgresql-client
|
||||
RUN apk update && apk add --no-cache build-base git gcc curl python3-dev musl-dev postgresql-dev
|
||||
RUN curl -sSL https://install.python-poetry.org | python
|
||||
ENV PATH="${PATH}:/root/.local/bin"
|
||||
RUN poetry config virtualenvs.create false && poetry install --no-dev
|
||||
RUN poetry config virtualenvs.create false && poetry install --only main
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user