Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
chair_apps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Energy Systems and Energy Economics
chair_apps
Commits
7594004f
Commit
7594004f
authored
4 weeks ago
by
David Huckebrink
Browse files
Options
Downloads
Patches
Plain Diff
changes to environment
parent
ae05feac
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+5
-13
5 additions, 13 deletions
Dockerfile
env.yaml
+1
-1
1 addition, 1 deletion
env.yaml
submodules/oemof_household
+1
-1
1 addition, 1 deletion
submodules/oemof_household
with
7 additions
and
15 deletions
Dockerfile
+
5
−
13
View file @
7594004f
# app/Dockerfile
# FROM continuumio/miniconda3:latest
# FROM python:3.9-slim
from
mambaorg/micromamba:1.4-kinetic
# FROM mambaorg/micromamba:1.3.1
FROM
mambaorg/micromamba:1.4-kinetic
RUN
mkdir
chair_apps
WORKDIR
/chair_apps
# copy repo contents to workdir
COPY
. .
USER
root
RUN
chown
-R
$MAMBA_USER
:
$MAMBA_USER
/chair_apps
USER
$MAMBA_USER
# checkout everything from submodules
# RUN git submodule update --init -f --recursive
#
disable questions during installation
# ENV DEBIAN_FRONTEND noninteractive
#
replace whatever environment name with "base", which is required by the image
RUN
sed
-i
's/name: \b[[:alpha:]]*\b/name: base/'
env.yaml
RUN
micromamba
install
-f
env.yaml
&&
\
...
...
@@ -26,11 +21,8 @@ RUN micromamba install -f env.yaml && \
EXPOSE
8501
# HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
ARG
MAMBA_DOCKERFILE_ACTIVATE=1 # (otherwise python will not be found)
RUN
pip
install
"protobuf~=3.19.0"
ENV
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
RUN
python
-c
"import streamlit"
# first element is micromamba specific. For details see https://github.com/mamba-org/micromamba-docker
...
...
This diff is collapsed.
Click to expand it.
env.yaml
+
1
−
1
View file @
7594004f
name
:
apps
name
:
base
channels
:
-
defaults
-
conda-forge
...
...
This diff is collapsed.
Click to expand it.
oemof_household
@
13480759
Compare
6a59d2bd
...
13480759
Subproject commit
6a59d2bd5e6b88571353f6b1060208493043d01
7
Subproject commit
13480759b1e736241c9cb3abb1bf3c3dfa59b22
7
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