Skip to content

Commit 0bf04f7

Browse files
committed
Continuing file reversion for sake of PR clarity
- Moving content to different branch
1 parent fa2b026 commit 0bf04f7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,11 @@ RUN npm --quiet set progress=false \
4040
&& echo "NPM version:" \
4141
&& npm --version
4242

43-
# Install Python and required dependencies for the Python module
44-
RUN apt-get update \
45-
&& apt-get install -y python3 python3-pip \
46-
&& pip3 install beautifulsoup4 markdownify
47-
48-
# Copy the Python script
49-
COPY --chown=myuser conv_html_to_markdown.py ./
50-
5143
# Next, copy the remaining files and directories with the source code.
5244
# Since we do this after NPM install, quick build will be really fast
5345
# for most source file changes.
5446
COPY --chown=myuser . ./
5547

5648
# Run the image. If you know you won't need headful browsers,
5749
# you can remove the XVFB start script for a micro perf gain.
58-
CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent && python3 conv_html_to_markdown.py
50+
CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent

0 commit comments

Comments
 (0)