Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5eea9e8

Browse files
author
Adam Parkin
committed
WIP
1 parent 47b8cf8 commit 5eea9e8

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ FROM koalaman/shellcheck-alpine
33
WORKDIR /build
44

55
RUN apk add --no-cache --update \
6-
python3 nodejs
6+
python3 \
7+
nodejs \
8+
make \
9+
bash \
10+
git
711

812
RUN python3 -m ensurepip
913
RUN pip3 install --upgrade pip
@@ -16,6 +20,11 @@ RUN pip3 install -r requirements.txt
1620
COPY *.sh /build/shell/
1721
COPY .markdownlint.json /build/content/
1822
COPY *.py /build/python/
19-
COPY content/ /build/content/
23+
# COPY content/ /build/content/
2024

2125
WORKDIR /build
26+
COPY . /develop
27+
28+
WORKDIR /develop
29+
30+
CMD ["make", "devserver"]

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ dockerbuild:
108108
docker build -t $(DOCKER_IMAGE_NAME):latest .
109109

110110
dockerrun: dockerbuild
111-
docker run -it --rm $(DOCKER_IMAGE_NAME):latest /bin/sh
111+
#docker run -it -p 8000:8000 --rm $(DOCKER_IMAGE_NAME):latest /bin/sh
112+
docker run -it -p 8000:8000 --rm --name=codependentcodr $(DOCKER_IMAGE_NAME):latest make devserver
112113

113114
.PHONY: html help clean regenerate serve serve-global devserver stopserver publish s3_upload github

0 commit comments

Comments
 (0)