GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Kanban
Fork
: 0
ONS
/
csvlint-webapp
Browse code
Bundle in a container for deployment.
master
1 parent
1269fe7
commit
207ae7a0773c2d0ac505344b400a74920fa91c49
Alex Tucker
authored
on 8 Jun 2019
Patch
Unified
Split
Showing
2 changed files
+18
-0
■
■
■
■
■
Dockerfile
+19
-0
■
■
■
■
■
docker-compose.yml
Ignore Space
Show notes
View
18
■
■
■
■
■
Dockerfile
0 → 100644
FROM ruby
:
2.4
-
alpine
COPY
Gemfile
/
webapp
/
RUN \
apk
--
no
-
cache
-
t
.
dev add build
-
base
git
&&
\
cd
/
webapp
&&
\
bundle
&&
\
bundle install
&&
\
apk
del
.
dev
&&
\
apk
--
no
-
cache add libcurl
COPY app
.
rb
/
webapp
/
COPY
public
/
webapp
/
public
COPY views
/
webapp
/
views
WORKDIR
/
webapp
EXPOSE
4567
CMD
[
"ruby"
,
"app.rb"
]
Ignore Space
Show notes
View
19
■
■
■
■
■
docker-compose.yml
0 → 100644
version
:
'3'
services
:
csvlint
:
build
:
.
environment
:
-
VIRTUAL_HOST
=
csvlint
.
floop
.
org
.
uk
-
VIRTUAL_PORT
=
4567
-
LETSENCRYPT_HOST
=
csvlint
.
floop
.
org
.
uk
-
LETSENCRYPT_EMAIL
=
alex@floop
.
org
.
uk
networks
:
-
cloudfluff_proxy
-
default
restart
:
always
networks
:
cloudfluff_proxy
:
external
:
true
Show line notes below