Add Dev Mode and fix test race conditions.
This commit is contained in:
parent
947453869e
commit
adc24ec91e
5 changed files with 67 additions and 14 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,4 +1,6 @@
|
|||
FROM python:3.11
|
||||
###################################################################
|
||||
# Base/release container
|
||||
FROM python:3.11 AS release
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -19,3 +21,16 @@ EXPOSE 80/tcp
|
|||
|
||||
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]
|
||||
|
||||
|
||||
###################################################################
|
||||
# Dev container
|
||||
FROM release AS dev
|
||||
# we don't actually do anything different yet
|
||||
|
||||
|
||||
###################################################################
|
||||
# Utility container for running commands (tests, most notably)
|
||||
FROM release AS operation
|
||||
|
||||
# don't run the server itself, just start up the environment and assume we'll exec things from the outside
|
||||
CMD sleep infinity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue