diff --git a/.circleci/config.yml b/.circleci/config.yml index 9186522..88d9f9e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,6 @@ jobs: key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} paths: - "venv" - - image: circleci/postgres:9.6.2-alpine test: docker: - image: circleci/python:3.9 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e8d43b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.9.1 + +COPY . /app +WORKDIR /app + +ENV FLASK_APP=autoapp.py + +RUN pip install -r requirements/dev.txt + +EXPOSE 8000 + + +CMD python autoapp.py \ No newline at end of file