development setup using docker
This commit is contained in:
parent
c4c49931a4
commit
f8dacef309
17 changed files with 414 additions and 1 deletions
15
deploy/dev/Dockerfile.wiki
Normal file
15
deploy/dev/Dockerfile.wiki
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Use an official Python runtime as instance_a parent image
|
||||
FROM python:3.9
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# Set work directory
|
||||
WORKDIR /wiki
|
||||
|
||||
# Install dependencies
|
||||
RUN pip install --no-cache-dir mkdocs
|
||||
|
||||
# Run the application
|
||||
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8001"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue