Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mason-today-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
mason-today-web
Commits
cb4f098b
Commit
cb4f098b
authored
Jul 10, 2019
by
Nicholas J Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing import, more stable dockerizing
parent
b730627d
Pipeline
#4458
passed with stage
in 3 minutes and 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
Dockerfile
Dockerfile
+2
-2
docker-cloud.yml
docker-cloud.yml
+9
-6
mason-today/redisactions.py
mason-today/redisactions.py
+1
-0
No files found.
Dockerfile
View file @
cb4f098b
...
...
@@ -6,7 +6,7 @@ COPY requirements.txt /usr/local/mason-today/requirements.txt
RUN
pip
install
--no-cache-dir
-r
/usr/local/mason-today/requirements.txt
WORKDIR
/usr/local/mason-today
ENV
PYTHONPATH=/usr/local/mason-today/
__init__.py
ENV
FLASK_APP=
mason-toda
y
ENV
PYTHONPATH=/usr/local/mason-today/
ENV
FLASK_APP=
/usr/local/masont-today/__init__.p
y
ENV
FLASK_DEBUG=0
CMD
[ "flask", "run" ]
docker-cloud.yml
View file @
cb4f098b
---
version
:
'
3.7'
network
:
network
s
:
front
:
back
:
internal
:
yes
service
:
service
s
:
api
:
image
:
registry.srct.gmu.edu/srct/mason-today-web/api:latest
image
:
registry.srct.gmu.edu/srct/mason-today-web/api:dockerize
ports
:
-
3000:3000
environment
:
FLASK_DEBUG
:
0
FLASK_DEBUG
:
1
FLASK_APP
:
/usr/local/mason-today/__init__.py
REDIS_HOST
:
db
network
:
network
s
:
front
:
back
:
db
:
image
:
redis
network
:
network
s
:
back
:
mason-today/redisactions.py
View file @
cb4f098b
# python imports
import
datetime
import
os
# other imports
import
redis
...
...
Write
Preview
Markdown
is supported
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