Revert "Merge branch 'Docker' into master"
This reverts commit8c47c8ae35, reversing changes made to2206565673. Undos accidental remote merge
This commit is contained in:
1 parent
8c47c8ae35
commit
a955e9f564
9 files changed
+21
-161
No files matched your search
-24
@@ -1,24 +0,0 @@
|
||||
FROM python:3.9-slim
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
WORKDIR /konova
|
||||
|
||||
# Install some dependencies
|
||||
RUN apt update
|
||||
RUN apt install -y gdal-bin redis-server nginx
|
||||
|
||||
# Copy requirements file into workspace and install all dependencies
|
||||
COPY ./requirements.txt /konova/
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Remove nginx default configuration and replace with own configuration
|
||||
RUN rm /etc/nginx/sites-enabled/default
|
||||
COPY ./nginx.conf /etc/nginx/conf.d
|
||||
|
||||
# Copy rest of project into workspace
|
||||
COPY . /konova/
|
||||
|
||||
# Move static files in designated folder
|
||||
RUN python manage.py collectstatic --noinput
|
||||
|
||||
Reference in new issue
Block a user