Set workdir earlier, in the build_final step.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-06-23 05:44:36 -05:00
parent c686bbbd41
commit 1a2a7b9bd7
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 2 additions and 2 deletions

View File

@ -49,6 +49,8 @@ ENV LANG="en_US.UTF-8" \
PROFILING_EXTENSION_HTTP_KEY=dev \
PROFILING_EXTENSION_HTTP_IP_WHITELIST=127.0.0.1
WORKDIR /var/azuracast/www
# Entrypoint and default command
ENTRYPOINT ["/usr/local/bin/uptime_wait"]
CMD ["/usr/local/bin/my_init"]
@ -107,8 +109,6 @@ RUN ln -s /var/azuracast/.opam/ocaml-system.4.08.1/bin/liquidsoap /usr/local/bin
# START Operations as `azuracast` user
USER azuracast
WORKDIR /var/azuracast/www
COPY --chown=azuracast:azuracast ./composer.json ./composer.lock ./
RUN composer install \
--no-dev \