Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
AURA
engine-api
Commits
85944b2e
Commit
85944b2e
authored
3 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Slim repo and replace MariaDB with PostgreSQL.
#4
parent
40d20989
No related branches found
No related tags found
No related merge requests found
Pipeline
#1032
canceled
3 years ago
Stage: bundle
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-2
5 additions, 2 deletions
Dockerfile
with
5 additions
and
2 deletions
Dockerfile
+
5
−
2
View file @
85944b2e
FROM
python:3.8-buster
FROM
python:3.8-slim
LABEL
maintainer="David Trattnig <david.trattnig@subsquare.at>"
# Initialize the project structure
...
...
@@ -9,8 +11,9 @@ RUN mkdir -p /var/log/aura
COPY
. /srv
WORKDIR
/srv
RUN
/usr/local/bin/python
-m
pip
install
--upgrade
pip
RUN
pip3
install
--no-cache-dir
-r
requirements.txt
RUN
pip3
install
--no-cache-dir
-r
contrib/
mariadb
-requirements.txt
RUN
pip3
install
--no-cache-dir
-r
contrib/
postgresql
-requirements.txt
ENV
PYTHONPATH "${PYTHONPATH}:/srv/src"
# Create default config
...
...
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