Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
birding
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Evili del Rio
birding
Commits
e59df7a5
Commit
e59df7a5
authored
Oct 29, 2019
by
Evili del Rio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No custom dockerfile
parent
6a217116
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
.dockerignore
.dockerignore
+0
-5
Dockerfile
Dockerfile
+0
-29
No files found.
.dockerignore
deleted
100644 → 0
View file @
6a217116
.git
*~
.env
*.sqlite3
*.pyc
Dockerfile
deleted
100644 → 0
View file @
6a217116
FROM
python:3.7-alpine
ARG
dev_packages="gcc g++ libc-dev libxml2-dev libxslt-dev postgresql-dev openldap-dev"
RUN
mkdir
-pv
/app
WORKDIR
/app
RUN
pip
install
--upgrade
pip
COPY
requirements.txt .
RUN
apk update
&&
\
apk add bash
\
${
dev_packages
}
&&
\
pip
install
gunicorn
\
psycopg2-binary psycopg2 mysql-connector
\
django-heroku whitenoise[brotli]
&&
\
pip
install
-r
requirements.txt
&&
\
apk del
${
dev_packages
}
&&
\
rm
-fr
/root/.cache
ENV
DJANGO_STATIC_ROOT=/static
ENV
DJANGO_MEDIA_ROOT=/media
VOLUME
["/app", "/static", "/media"]
EXPOSE
5000/tcp
ENTRYPOINT
["/app/entrypoint.sh"]
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