File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 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
55
66# Install NodeJS
77# --------------
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
1211
1312# Install Poetry
1413# --------------
@@ -36,7 +35,7 @@ RUN sphinx-build -v -W -b html source build
3635
3736# Define Entrypoint
3837# -----------------
39- ENV PORT 5000
38+ ENV PORT= 5000
4039ENV REACTPY_DEBUG_MODE=1
4140ENV 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 = [
147147]
148148docker_build = [
149149 " 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" ,
151151]
152152check = [
153153 " cd docs && poetry install" ,
154154 " 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" ,
156156]
157157serve = [
158158 " cd docs && poetry install" ,
You can’t perform that action at this time.
0 commit comments