mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Fix env.sh
This commit is contained in:
parent
7d816ff20c
commit
1c10306d6c
1 changed files with 4 additions and 3 deletions
|
@ -4,8 +4,9 @@
|
||||||
FROM node:18-alpine3.18 as builder
|
FROM node:18-alpine3.18 as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./dist/apps/client ./yarn.lock ./prisma ./package.json ./apps/client/env.sh ./
|
COPY ./dist/apps/client ./yarn.lock ./prisma ./package.json ./
|
||||||
RUN chmod +x ./env.sh
|
COPY ./apps/client/env.sh /env.sh
|
||||||
|
RUN chmod +x /env.sh
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN yarn install --production=false
|
RUN yarn install --production=false
|
||||||
|
|
||||||
|
@ -20,4 +21,4 @@ WORKDIR /app
|
||||||
USER node
|
USER node
|
||||||
COPY --from=builder --chown=node:node /app .
|
COPY --from=builder --chown=node:node /app .
|
||||||
|
|
||||||
CMD ["./env.sh", "npx", "next", "start"]
|
CMD ["/env.sh", "npx", "next", "start"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue