Make some minor corrections.
This commit is contained in:
Родитель
8ce061852c
Коммит
7207af89fc
|
@ -12,7 +12,6 @@ RUN apt-get update && apt-get install --yes byobu locales locales-all
|
|||
COPY setup.sh setup_libs.sh package.json yarn.lock ./
|
||||
COPY client/package.json client/yarn.lock client/
|
||||
|
||||
# Avoid issues with pull Git repos during the build.
|
||||
# Avoid issues with pulling Git repos during the build.
|
||||
RUN git config --global url."https://".insteadOf git://
|
||||
|
||||
RUN bash setup.sh
|
||||
|
|
|
@ -30,7 +30,8 @@ Run
|
|||
```
|
||||
|
||||
## Troubleshooting Setup
|
||||
Try using the Docker container. If you don't want to, make sure you're using Node 10 LTS.
|
||||
Try using the Docker container.
|
||||
If you don't want to, make sure you're using Node 10 LTS.
|
||||
|
||||
If you have problems running the setup steps related to node-gyp, then you might need to set Python 2.7 to be your default (just during the installation).
|
||||
Recommendation: Temporarily set up a Python 2.7 Conda environment (just for the installation) and activate it:
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN apt-get update && apt-get install --fix-missing --yes build-essential git lo
|
|||
COPY client ./client
|
||||
COPY package.json server.js setup.sh setup_libs.sh yarn.lock ./
|
||||
|
||||
# Avoid issues with pull Git repos during the build.
|
||||
# Avoid issues with pulling Git repos during the build.
|
||||
RUN git config --global url."https://".insteadOf git://
|
||||
RUN NODE_ENV='production' bash setup.sh
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче