File tree 2 files changed +7
-8
lines changed 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ RUN apt-get update
5
5
6
6
# Install NodeJS
7
7
# --------------
8
- RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh
9
- RUN chmod 500 nsolid_setup_deb.sh
10
- RUN ./nsolid_setup_deb.sh 20
11
- RUN apt-get install nodejs -y
8
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
9
+ RUN bash nodesource_setup.sh
10
+ RUN apt-get install -y nodejs
12
11
13
12
# Install Poetry
14
13
# --------------
@@ -36,7 +35,7 @@ RUN sphinx-build -v -W -b html source build
36
35
37
36
# Define Entrypoint
38
37
# -----------------
39
- ENV PORT 5000
38
+ ENV PORT= 5000
40
39
ENV REACTPY_DEBUG_MODE=1
41
40
ENV REACTPY_CHECK_VDOM_SPEC=0
42
- CMD python main.py
41
+ CMD [ " python" , " main.py" ]
Original file line number Diff line number Diff line change @@ -147,12 +147,12 @@ build = [
147
147
]
148
148
docker_build = [
149
149
" hatch run docs:build" ,
150
- " cd docs && docker build . --file ./docs/Dockerfile --tag reactpy-docs:latest" ,
150
+ " docker build . --file ./docs/Dockerfile --tag reactpy-docs:latest" ,
151
151
]
152
152
check = [
153
153
" cd docs && poetry install" ,
154
154
" cd docs && poetry run sphinx-build -a -T -W --keep-going -b doctest source build" ,
155
- " cd docs && docker build . --file Dockerfile" ,
155
+ " docker build . --file ./docs/ Dockerfile" ,
156
156
]
157
157
serve = [
158
158
" cd docs && poetry install" ,
You can’t perform that action at this time.
0 commit comments