fix(printer): fix issue with printer service, locating the right URL of the server

This commit is contained in:
Amruth Pillai
2022-03-09 18:55:17 +01:00
parent 4447b58b8f
commit 6255849822
15 changed files with 62 additions and 27 deletions
+5 -2
View File
@@ -31,15 +31,18 @@ FROM mcr.microsoft.com/playwright:focal as production
WORKDIR /app
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
RUN apt-get update \
&& apt-get install -y curl \
&& curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
COPY --from=builder /app/pnpm-*.yaml ./
COPY --from=builder /app/package.json ./
COPY --from=builder /app/server/dist ./server/dist
COPY --from=builder /app/server/package.json ./server/package.json
RUN pnpm install -F server --frozen-lockfile --prod
COPY --from=builder /app/server/dist ./server/dist
EXPOSE 3100
ENV PORT 3100