-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #268 from Ehco1996/dev
dev2Master
- Loading branch information
Showing
98 changed files
with
2,784 additions
and
1,618 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,4 +110,5 @@ apps/Alipay_pub.pem | |
static/admin/ | ||
static/jet/ | ||
static/range_filter/ | ||
*.log | ||
*.log | ||
go.mod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
|
||
FROM python:3.6-alpine | ||
FROM python:3.7-alpine | ||
|
||
LABEL Name=django-sspanel Version=0.0.3 | ||
LABEL Name=django-sspanel | ||
|
||
COPY requirements.txt /tmp/requirements.txt | ||
|
||
RUN apk update && apk add --no-cache gcc linux-headers \ | ||
musl-dev python3-dev mariadb-dev jpeg-dev && \ | ||
pip install --no-cache-dir -r /tmp/requirements.txt && \ | ||
apk del gcc linux-headers \ | ||
musl-dev python-dev jpeg-dev && \ | ||
rm -Rf ~/.cache | ||
|
||
# # 如果是第一次运行需要手动exec进去执行如下命令 | ||
# # python3 manage.py collectstatic --no-input && \ | ||
# # python3 manage.py makemigrations && \ | ||
# # python3 manage.py migrate --run-syncdb && \ | ||
RUN set -e; \ | ||
apk update \ | ||
&& apk add --virtual .build-deps libffi-dev build-base \ | ||
# TODO workaround start | ||
&& apk add mariadb-dev \ | ||
# TODO workaround end | ||
&& pip install --no-cache-dir -r /tmp/requirements.txt \ | ||
&& apk del .build-deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.