Skip to content
Snippets Groups Projects
Commit 252e3fa2 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Trying multistage builds to make both workflow and capability. It happens but it isn't good

parent 90051690
No related branches found
No related tags found
No related merge requests found
FROM python:3.8-slim
# We happen to expose this port
EXPOSE 3456:tcp
FROM python:3.8-slim AS common
# Environment variables
ENV PIP_NO_CACHE_DIR false
......@@ -19,6 +16,9 @@ RUN apt-get update \
# Get the code into the image
WORKDIR /code
COPY . .
FROM common AS workflow
EXPOSE 3456
WORKDIR /code/services/workflow
# Python library installation
......@@ -26,3 +26,13 @@ RUN pip install -r requirements.txt \
&& python setup.py develop
ENTRYPOINT pserve --reload development.ini
FROM common AS capability
EXPOSE 3457
WORKDIR /code/services/capability
# Python library installation
RUN pip install -r requirements.txt \
&& python setup.py develop
ENTRYPOINT pserve --reload development.ini
\ No newline at end of file
# This file is intended to support the Condaless.dockerfile, not for actual development
# DO NOT MODIFY THIS FILE, THIS IS FOR DOCKER ONLY!
-e ../../shared/schema
-e ../../shared/channels
-e ../../shared/workspaces
-e ../../apps/cli/utilities/wf_monitor
pycapo == 0.3.0
pyramid == 1.10
pyramid_beaker == 0.8
pyramid_debugtoolbar == 4.5
pyramid_retry == 2.1.1
pyramid_tm == 2.2.1
requests == 2.23
sqlalchemy == 1.3
waitress == 1.4
zope.sqlalchemy == 1.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment