Skip to content

Commit

Permalink
debugging missing dist folder
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Madigan <[email protected]>
  • Loading branch information
jasonmadigan committed Dec 3, 2024
1 parent fa99c5f commit 73bff5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ ADD package.json yarn.lock ./
RUN yarn install --frozen-lockfile --ignore-optional

ADD . .
RUN yarn build && ls -la && ls -la dist

RUN yarn build && \
echo "Build completed. Current directory contents:" && ls -la && \
echo "Contents of the dist directory:" && ls -la dist || echo "dist directory not found"

COPY dist /usr/share/nginx/html
COPY entrypoint.sh /usr/share/nginx/html/entrypoint.sh
Expand Down

0 comments on commit 73bff5a

Please sign in to comment.