Browse Source

dockerfile

pull/1/merge
spokequenouille 6 years ago
parent
commit
dfb35942a2
  1. 1
      .circleci/config.yml
  2. 13
      Dockerfile

1
.circleci/config.yml

@ -17,7 +17,6 @@ jobs:
key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }}
paths: paths:
- "venv" - "venv"
- image: circleci/postgres:9.6.2-alpine
test: test:
docker: docker:
- image: circleci/python:3.9 - image: circleci/python:3.9

13
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
Loading…
Cancel
Save