π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fixes web container public assets (#3336)
Manish Gupta2580e66d4b88
diff --git a/web/Dockerfile.web b/web/Dockerfile.webindex d9260e61d8..e0d525c2c2 100644--- a/web/Dockerfile.web+++ b/web/Dockerfile.web@@ -1,3 +1,6 @@+# ******************************************+# STAGE 1: Build the project+# ******************************************FROM node:18-alpine AS builderRUN apk add --no-cache libc6-compat# Set working directory@@ -8,6 +11,10 @@ COPY . .RUN turbo prune --scope=web --docker++# ******************************************+# STAGE 2: Install dependencies & build the project+# ******************************************# Add lockfile and package.json's of isolated subworkspaceFROM node:18-alpine AS installer@@ -31,6 +38,11 @@ ENV NEXT_PUBLIC_DEPLOY_URL=$NEXT_PUBLIC_DEPLOY_URLRUN yarn turbo run build --filter=web++# ******************************************+# STAGE 3: Copy the project and start it+# ******************************************+FROM node:18-alpine AS runnerWORKDIR /app@@ -46,6 +58,7 @@ COPY --from=installer /app/web/package.json .# https://nextjs.org/docs/advanced-features/output-file-tracingCOPY --from=installer --chown=captain:plane /app/web/.next/standalone ./COPY --from=installer --chown=captain:plane /app/web/.next ./web/.next+COPY --from=installer --chown=captain:plane /app/web/public ./web/publicARG NEXT_PUBLIC_API_BASE_URL=""ARG NEXT_PUBLIC_DEPLOY_URL=""