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

Separate dev and production dependencies in docker image #240

Open
darenkeck-dev opened this issue Nov 22, 2022 · 1 comment
Open

Separate dev and production dependencies in docker image #240

darenkeck-dev opened this issue Nov 22, 2022 · 1 comment

Comments

@darenkeck-dev
Copy link
Collaborator

Set up separate image build targets in the DockerFile to keep dev dependencies out of the production build.

@AntoineGautier
Copy link
Collaborator

Keep open. I can't directly identify which dependencies are only needed for development but server/Dockerfile certainly needs to be cleaned up, e.g.:

  • # Installs Pandoc, TexLive, and make4ht on a Ubuntu Linux distribution: pandoc is no longer used. The generation of the SOO rather relies on https://python-docx.readthedocs.io/en/latest/. The file server/README.md also needs to be updated as all mentions of LaTeX and Pandoc seem obsolete.
  • # This fails to run on amd64, must be arm64 platform???
  • # FROM alpine-node-modelica as ubuntu-pandoc-node-modelica
  • # COPY --from=alpine-node-modelica /dependencies /dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants