Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong render of Dockerfile #93

Open
evanchurov opened this issue Oct 13, 2024 · 0 comments
Open

wrong render of Dockerfile #93

evanchurov opened this issue Oct 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@evanchurov
Copy link

Describe the bug

On the fresh obsidian vault with only Univer installed, there is the bug with rendering of Dockerfile format.
Screenshot:
image
Note the "COPY --from ..." stretched to the right.

Steps to reproduce

  1. Install the Univer plugin
  2. Insert the following Dockerfile:
FROM node:18 AS build
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN if [ -f package.json ] && grep -q "build" package.json; then npm run build; else echo "No build step"; fi
FROM node:18-slim
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --only=production
RUN npm install express --save
COPY --from=build /usr/src/app .
EXPOSE 8080
CMD ["node", "app.js"]

Expected behavior

The Dockerfile should not stretch. It havs to be rendered as is with no wrong formatting.

Are you using the mobile app?

No

Obsidian debug info

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 6.8.0-45-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Univer v1.1.5

RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Relevant log output

No response

@evanchurov evanchurov added the bug Something isn't working label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant