Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
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
steering
Commits
45cbaa2e
Verified
Commit
45cbaa2e
authored
1 year ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of
ssh://gitlab.servus.at:22022/aura/steering
parents
1bfc52e6
1f129205
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+16
-12
16 additions, 12 deletions
Dockerfile
with
16 additions
and
12 deletions
Dockerfile
+
16
−
12
View file @
45cbaa2e
...
...
@@ -12,13 +12,13 @@ WORKDIR /app
COPY
poetry.lock pyproject.toml /app/
RUN
apt-get update
&&
\
apt-get
install
--yes
--no-install-recommends
curl gcc graphviz ldap-utils libldap2-dev
\
apt-get
install
--yes
--no-install-recommends
curl gcc graphviz ldap-utils libldap2-dev
\
libmagic1 libsasl2-dev make
&&
\
python
-m
venv
${
POETRY_HOME
}
&&
\
pip
install
--no-cache-dir
poetry
==
1.7.1
&&
\
poetry
install
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
python
-m
venv
${
POETRY_HOME
}
&&
\
pip
install
--no-cache-dir
poetry
==
1.7.1
&&
\
poetry
install
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
EXPOSE
8000
...
...
@@ -36,12 +36,16 @@ FROM base AS prod
COPY
. .
RUN
adduser
--home
/app
--no-create-home
--system
--uid
${
AURA_UID
}
--group
app
&&
\
# static and site_media are named volumes which we use across multiple
# containers. We therefore create them here and set the permissions right away
# since named volumes otherwise create these directories themself as the root
# user.
mkdir -p /app/{logs,static,site_media} && \
chown -R app:app /app
# static and site_media are named volumes which we use across multiple
# containers. We therefore create them here and set the permissions right away
# since named volumes otherwise create these directories themself as the root
# user.
mkdir -p \
/app/site_media \
/app/static/admin \
/app/logs \
&& \
chown -R app:app /app
USER
app
...
...
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