fix(server dockerfile): fix wait not available in the final runtime image
This commit is contained in:
@@ -7,9 +7,6 @@ RUN apt-get update && apt-get install -y \
|
||||
fonts-dejavu-core fontconfig \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.8.0/wait /wait
|
||||
RUN chmod +x /wait
|
||||
|
||||
WORKDIR /speckle-server
|
||||
|
||||
COPY .yarnrc.yml .
|
||||
@@ -30,6 +27,9 @@ ARG NODE_ENV=production
|
||||
ENV NODE_ENV=${NODE_ENV}
|
||||
ARG SPECKLE_SERVER_VERSION=custom
|
||||
|
||||
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.8.0/wait /wait
|
||||
RUN chmod +x /wait
|
||||
|
||||
WORKDIR /speckle-server
|
||||
|
||||
COPY --from=build-stage /speckle-server/.yarnrc.yml .
|
||||
|
||||
Reference in New Issue
Block a user