1
0
Fork 0
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:
Six 2024-01-21 12:39:10 -08:00
parent 7d816ff20c
commit 1c10306d6c
No known key found for this signature in database
GPG key ID: 00148D3869C21E43

View file

@ -4,8 +4,9 @@
FROM node:18-alpine3.18 as builder
WORKDIR /app
COPY ./dist/apps/client ./yarn.lock ./prisma ./package.json ./apps/client/env.sh ./
RUN chmod +x ./env.sh
COPY ./dist/apps/client ./yarn.lock ./prisma ./package.json ./
COPY ./apps/client/env.sh /env.sh
RUN chmod +x /env.sh
# Install dependencies
RUN yarn install --production=false
@ -20,4 +21,4 @@ WORKDIR /app
USER node
COPY --from=builder --chown=node:node /app .
CMD ["./env.sh", "npx", "next", "start"]
CMD ["/env.sh", "npx", "next", "start"]