dev: speed up devcontainer building by only copying the tests.mk file as Makefile first

This commit is contained in:
Jose Diaz-Gonzalez
2021-09-16 00:07:02 -04:00
parent 4a8ed5cd06
commit 974f601fa9

View File

@@ -10,8 +10,9 @@ RUN apt-get install --no-install-recommends -y build-essential file nano && \
ADD https://raw.githubusercontent.com/dokku/dokku/master/tests/dhparam.pem /mnt/dokku/etc/nginx/dhparam.pem
COPY .devcontainer/bin/ /usr/local/bin/
COPY . .
COPY ["tests.mk", "Makefile"]
RUN make ci-dependencies
ENV DOKKU_HOSTNAME=dokku.me
COPY . .
ENV DOKKU_HOSTNAME=dokku.me