|
|
@ -49,9 +49,12 @@ RUN echo "#!/bin/sh" >> /bin/lerna && \ |
|
|
|
chmod +x /bin/lerna |
|
|
|
|
|
|
|
# Copy over Lerna stuff |
|
|
|
COPY lerna.json package.json tsconfig*.json ./ |
|
|
|
COPY lerna.json package.json ./ |
|
|
|
RUN yarn install |
|
|
|
|
|
|
|
# Copy TS configs |
|
|
|
COPY tsconfig*.json ./ |
|
|
|
|
|
|
|
# Symlink the requested service to /app |
|
|
|
RUN ln -s /opt/app/services/${SERVICE} /app |
|
|
|
WORKDIR /app |
|
|
|