plane/admin/Dockerfile.dev

18 lines
303 B
Docker
Raw Normal View History

FROM node:18-alpine
RUN apk add --no-cache libc6-compat
# Set working directory
WORKDIR /app
COPY . .
2024-05-09 15:35:51 +00:00
RUN yarn global add turbo
RUN yarn install
2024-05-09 15:35:51 +00:00
ENV NEXT_PUBLIC_ADMIN_BASE_PATH="/god-mode"
EXPOSE 3000
2024-05-09 15:35:51 +00:00
VOLUME [ "/app/node_modules", "/app/admin/node_modules" ]
2024-05-09 15:35:51 +00:00
CMD ["yarn", "dev", "--filter=admin"]