From dfb35942a2e9c34a6c6a4f35270b132abbff9008 Mon Sep 17 00:00:00 2001 From: spokequenouille Date: Sun, 17 Jan 2021 17:21:20 +0100 Subject: [PATCH] dockerfile --- .circleci/config.yml | 1 - Dockerfile | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Dockerfile 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