File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ FROM koalaman/shellcheck-alpine
3
3
WORKDIR /build
4
4
5
5
RUN apk add --no-cache --update \
6
- python3 nodejs
6
+ python3 \
7
+ nodejs \
8
+ make \
9
+ bash \
10
+ git
7
11
8
12
RUN python3 -m ensurepip
9
13
RUN pip3 install --upgrade pip
@@ -16,6 +20,11 @@ RUN pip3 install -r requirements.txt
16
20
COPY *.sh /build/shell/
17
21
COPY .markdownlint.json /build/content/
18
22
COPY *.py /build/python/
19
- COPY content/ /build/content/
23
+ # COPY content/ /build/content/
20
24
21
25
WORKDIR /build
26
+ COPY . /develop
27
+
28
+ WORKDIR /develop
29
+
30
+ CMD ["make" , "devserver" ]
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ dockerbuild:
108
108
docker build -t $(DOCKER_IMAGE_NAME ) :latest .
109
109
110
110
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
112
113
113
114
.PHONY : html help clean regenerate serve serve-global devserver stopserver publish s3_upload github
You can’t perform that action at this time.
0 commit comments