Add an app with roles to the integration tests. We'll deploy two web containers and one worker. The worker just sleeps, so we are testing that the container has booted.
10 lines
368 B
Docker
10 lines
368 B
Docker
FROM registry:4443/nginx:1-alpine-slim
|
|
|
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
|
|
|
ARG COMMIT_SHA
|
|
RUN echo $COMMIT_SHA > /usr/share/nginx/html/version
|
|
RUN mkdir -p /usr/share/nginx/html/versions && echo "version" > /usr/share/nginx/html/versions/$COMMIT_SHA
|
|
RUN mkdir -p /usr/share/nginx/html/versions && echo "hidden" > /usr/share/nginx/html/versions/.hidden
|
|
|