Commit 7d9ab0cc authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

moved docker files to own git repo

parent ebf9a969
FROM buildpack-deps:stretch
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
r-base \
python3.5 \
python3.5-dev \
python3-pip \
python3-setuptools \
r-bioc-limma
RUN pip3 install wheel
RUN pip3 install -e /app --default-timeout 180
CMD ["python3", "fractalis/__init__.py"]
FROM buildpack-deps:stretch
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
r-base \
python3.5 \
python3.5-dev \
python3-pip \
python3-setuptools \
r-bioc-limma
RUN pip3 install wheel
RUN pip3 install -e /app --default-timeout 180
CMD ["celery", "worker", "-A", "fractalis:celery"]
version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile-web
environment:
- FRACTALIS_CONFIG=${FRACTALIS_CONFIG}
- REDIS_HOST=redis
- RABBITMQ_HOST=rabbitmq
ports:
- '5000:5000'
worker:
build:
context: .
dockerfile: Dockerfile-worker
environment:
- FRACTALIS_CONFIG=${FRACTALIS_CONFIG}
- REDIS_HOST=redis
- RABBITMQ_HOST=rabbitmq
redis:
image: 'redis:alpine'
rabbitmq:
image: 'rabbitmq:alpine'
[aliases] [aliases]
test = pytest test = pytest
[metadata]
description-file=README.md
[tool:pytest] [tool:pytest]
addopts = addopts =
--capture=no --capture=no
--color=yes --color=yes
--verbose --verbose
testpaths = tests testpaths = tests
...@@ -6,7 +6,13 @@ from setuptools import find_packages ...@@ -6,7 +6,13 @@ from setuptools import find_packages
setup( setup(
name='fractalis', name='fractalis',
packages=find_packages(), packages=find_packages(),
author='Sascha Herzinger',
author_email='sascha.herzinger@uni.lu',
url='https://git-r3lab.uni.lu/Fractalis/fractalis',
version='0.1.1',
license='Apache2',
include_package_data=True, include_package_data=True,
python_requires='>=3.4',
install_requires=[ install_requires=[
'Flask==0.12.2', 'Flask==0.12.2',
'flask-cors==3.0.3', 'flask-cors==3.0.3',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment