dev: speed up devcontainer building by only copying the tests.mk file as Makefile first
This commit is contained in:
1 parent
4a8ed5cd06
commit
974f601fa9
1 file changed
+4
-3
@@ -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
|
ADD https://raw.githubusercontent.com/dokku/dokku/master/tests/dhparam.pem /mnt/dokku/etc/nginx/dhparam.pem
|
||||||
|
|
||||||
COPY .devcontainer/bin/ /usr/local/bin/
|
COPY .devcontainer/bin/ /usr/local/bin/
|
||||||
COPY . .
|
COPY ["tests.mk", "Makefile"]
|
||||||
|
|
||||||
RUN make ci-dependencies
|
RUN make ci-dependencies
|
||||||
|
|
||||||
ENV DOKKU_HOSTNAME=dokku.me
|
COPY . .
|
||||||
|
|
||||||
|
ENV DOKKU_HOSTNAME=dokku.me
|
||||||
Reference in new issue
Block a user