Skip to content

Commit

Permalink
adding base path in dockerfile 2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsingal committed Dec 5, 2023
1 parent 46d4ce0 commit 2dc4555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RUN apt-get update -y && \
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
ARG basePath="/impact-sphere"
RUN echo "Base path: $basePath"
ENV NEXT_PUBLIC_BASE_PATH $basePath

WORKDIR /app
Expand All @@ -25,6 +24,7 @@ RUN yarn build
# Copy only the built files into the final image
FROM node:18.15.0-bullseye-slim AS runner
ENV NODE_ENV production
ARG basePath="/impact-sphere"
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_PUBLIC_BASE_PATH $basePath

Expand Down

0 comments on commit 2dc4555

Please sign in to comment.