updated Dockerfiles

pull/110/head
13621160019@163.com 2022-01-02 19:30:01 +08:00
parent 169b09a386
commit f26d96d1b6
8 changed files with 30 additions and 7 deletions

23
.gitignore vendored
View File

@ -34,3 +34,26 @@ Thumbs.db
# Folder config file
Desktop.ini
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

2
admin/Dockerfile vendored
View File

@ -1,4 +1,4 @@
FROM nginx:1.21.4
FROM nginx:latest
# remove the default config
RUN rm /etc/nginx/conf.d/default.conf && \

View File

@ -1,4 +1,4 @@
FROM python:3.9.6
FROM python:slim
WORKDIR /code
COPY . /code

View File

@ -1,4 +1,4 @@
FROM python:3.9.6
FROM python:slim
WORKDIR /code
# todo: share upload folder with admin container on Docker

View File

@ -1,4 +1,4 @@
FROM python:3.9.6
FROM python:slim
WORKDIR /code
COPY . /code

View File

@ -1,4 +1,4 @@
FROM python:3.9.6
FROM python:slim
WORKDIR /code
COPY . /code

View File

@ -1,4 +1,4 @@
FROM python:3.9.6
FROM python:slim
WORKDIR /code
COPY . /code

2
web/Dockerfile vendored
View File

@ -1,4 +1,4 @@
FROM nginx:1.21.4
FROM nginx:latest
# remove the default config
RUN rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/nginx.conf