Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
engine-api
Commits
85944b2e
Commit
85944b2e
authored
May 06, 2021
by
david
Browse files
Slim repo and replace MariaDB with PostgreSQL.
#4
parent
40d20989
Pipeline
#1032
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment