updated Dockerfiles
parent
169b09a386
commit
f26d96d1b6
|
@ -34,3 +34,26 @@ Thumbs.db
|
||||||
|
|
||||||
# Folder config file
|
# Folder config file
|
||||||
Desktop.ini
|
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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM nginx:1.21.4
|
FROM nginx:latest
|
||||||
|
|
||||||
# remove the default config
|
# remove the default config
|
||||||
RUN rm /etc/nginx/conf.d/default.conf && \
|
RUN rm /etc/nginx/conf.d/default.conf && \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.9.6
|
FROM python:slim
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.9.6
|
FROM python:slim
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
# todo: share upload folder with admin container on Docker
|
# todo: share upload folder with admin container on Docker
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.9.6
|
FROM python:slim
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.9.6
|
FROM python:slim
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.9.6
|
FROM python:slim
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM nginx:1.21.4
|
FROM nginx:latest
|
||||||
|
|
||||||
# remove the default config
|
# remove the default config
|
||||||
RUN rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/nginx.conf
|
RUN rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/nginx.conf
|
||||||
|
|
Loading…
Reference in New Issue