diff --git a/Dockerfile b/Dockerfile index ac61f8f7..05c855d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,10 @@ WORKDIR /app COPY . /app RUN apk update && apk add --no-cache git gcc curl postgresql-client +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 curl -sSL https://install.python-poetry.org | python - && \ - poetry config virtualenvs.create false && \ - poetry install --no-dev - -# Expose port 8000 EXPOSE 8000 -# Run server when the container launches CMD ["python", "server.py"]