fix: removing deploy with nginx env

This commit is contained in:
sriram veeraghanta 2024-05-09 21:05:51 +05:30
parent 58bf056ddb
commit 45bb1153ee
9 changed files with 45 additions and 32 deletions

View file

@ -3,10 +3,15 @@ RUN apk add --no-cache libc6-compat
# Set working directory
WORKDIR /app
COPY . .
RUN yarn global add turbo
RUN yarn install
ENV NEXT_PUBLIC_ADMIN_BASE_PATH="/god-mode"
EXPOSE 3000
VOLUME [ "/app/node_modules", "/app/admin/node_modules" ]
CMD ["yarn", "dev", "--filter=admin"]