worked on async alembic migrations, User model. Current issue: web_1 | INFO: 172.20.0.1:62958 - "POST /users/ HTTP/1.1" 500 Internal Server Error web_1 | ERROR: Exception in ASGI application web_1 | Traceback (most recent call last): ... web_1 | response web_1 | value is not a valid dict (type=type_error.dict) when trying to create new user
18 lines
274 B
Docker
18 lines
274 B
Docker
# Pull base image
|
|
FROM python:3.10
|
|
|
|
# Set environment varibles
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /code/
|
|
|
|
# Install dependencies
|
|
RUN pip install pipenv
|
|
COPY Pipfile Pipfile.lock /code/
|
|
RUN pipenv install --system --dev
|
|
|
|
COPY . /code/
|
|
|
|
EXPOSE 8000
|