Update deps, fix Docker build errors
This commit is contained in:
parent
162390008b
commit
c62bfd2a4c
31 changed files with 832 additions and 1227 deletions
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:18-alpine as base
|
||||
|
||||
FROM base AS builder
|
||||
ARG APP_DIR=/opt/bridge
|
||||
ARG APP_DIR=/opt/bridge-worker
|
||||
RUN mkdir -p ${APP_DIR}/
|
||||
RUN npm i -g turbo
|
||||
WORKDIR ${APP_DIR}
|
||||
|
|
@ -9,9 +9,9 @@ COPY . .
|
|||
RUN turbo prune --scope=bridge-worker --docker
|
||||
|
||||
FROM base AS installer
|
||||
ARG APP_DIR=/opt/bridge
|
||||
ARG APP_DIR=/opt/bridge-worker
|
||||
WORKDIR ${APP_DIR}
|
||||
COPY .gitignore .gitignore
|
||||
COPY --from=builder ${APP_DIR}/.gitignore .gitignore
|
||||
COPY --from=builder ${APP_DIR}/out/json/ .
|
||||
COPY --from=builder ${APP_DIR}/out/package-lock.json ./package-lock.json
|
||||
COPY --from=builder ${APP_DIR}/out/full/ .
|
||||
|
|
@ -20,7 +20,7 @@ RUN npm i -g turbo
|
|||
RUN turbo run build --filter=bridge-worker
|
||||
|
||||
FROM graphile/worker:0.16.5 as runner
|
||||
ARG APP_DIR=/opt/bridge
|
||||
ARG APP_DIR=/opt/bridge-worker
|
||||
RUN mkdir -p ${APP_DIR}/
|
||||
ARG BUILD_DIR=${APP_DIR}/apps/bridge-worker/build/main
|
||||
RUN mkdir -p ${APP_DIR}/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue