Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Commits
691b4b0f
Commit
691b4b0f
authored
2 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
fixing package dependencies
parent
36b2f6b5
No related branches found
No related tags found
1 merge request
!276
Astronauth integration
Pipeline
#43723
failed
2 years ago
Stage: build
Stage: deploy_to_test
Stage: deploy_to_production
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
atdb/Dockerfile
+10
-10
10 additions, 10 deletions
atdb/Dockerfile
atdb/requirements/base.txt
+1
-1
1 addition, 1 deletion
atdb/requirements/base.txt
with
11 additions
and
11 deletions
atdb/Dockerfile
+
10
−
10
View file @
691b4b0f
FROM
python:3.
10-slim
RUN
apt-get update
&&
apt-get
install
--no-install-recommends
-y
bash nano mc libmagic1 git
FROM
python:3.
6.7-alpine
ENV
PYTHONUNBUFFERED 1
RUN
apk update
&&
apk add bash
&&
apk add nano
&&
apk add mc
RUN
mkdir
/src
WORKDIR
/src
COPY
. /src/
RUN
pip
install
--upgrade
pip
RUN
pip
install
-r
requirements/prod.txt
RUN
python manage.py collectstatic
--settings
=
adex_backend.settings.dev
--noinput
# install dependencies
RUN
\
apk add
--no-cache
python3 postgresql-libs
&&
\
apk add
--no-cache
--virtual
.build-deps gcc python3-dev musl-dev postgresql-dev
&&
\
pip
install
-r
requirements/prod.txt
&&
\
apk
--purge
del .build-deps
# run gunicorn
CMD
exec gunicorn atdb.wsgi_docker_sdc:application --bind 0.0.0.0:8000 --workers 4 --timeout 120
CMD
exec gunicorn atdb.wsgi_docker_sdc:application --bind 0.0.0.0:8000 --workers 4
This diff is collapsed.
Click to expand it.
atdb/requirements/base.txt
+
1
−
1
View file @
691b4b0f
asgiref==3.
5.2
asgiref==3.
4.1
astronauth==0.3.3
certifi==2022.12.7
cffi==1.15.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment