Skip to content

Feedback docker#349

Open
4-dash wants to merge 11 commits into
masterfrom
feedback_docker
Open

Feedback docker#349
4-dash wants to merge 11 commits into
masterfrom
feedback_docker

Conversation

@4-dash

@4-dash 4-dash commented May 22, 2025

Copy link
Copy Markdown
Member
  • Added docker file, docker-compose.
  • some changes to settings
  • renamed and modified django.wsgi to wsgi.py
  • removed binary translation files

@4-dash 4-dash force-pushed the feedback_docker branch from e75ab30 to c706cfe Compare May 6, 2026 19:01
Comment thread Dockerfile
EXPOSE 8000

# start applicaiton with gunicorn
CMD ["sh", "-c", "gunicorn --bind 0.0.0.0:8000 --workers ${GUNICORN_WORKERS:-3} wsgi:application"] No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to entrypoint maybe?

Comment thread Dockerfile
Comment on lines +25 to +28
# install node_modules
COPY package*.json ./
RUN npm i

@joachimschmidt557 joachimschmidt557 Jun 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: install node dependencies in a new stage from the nodejs docker image, so no nodejs needs to be installed -> faster build

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

Successfully merging this pull request may close these issues.

2 participants