-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #856 from lsoaresesilva/855-configuração-do-docker
Correção da falha de inicialização
- Loading branch information
Showing
7 changed files
with
25,696 additions
and
19,234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM fedora | ||
RUN sudo dnf -y install nodejs npm git python3 python3-pip nginx | ||
RUN sudo alternatives --install /usr/bin/python python /usr/bin/python3.7 1 | ||
RUN sudo npm install -g @angular/cli | ||
RUN pip3 install --user Django==2.2.4 | ||
RUN pip3 install --user djangorestframework | ||
RUN pip3 install --user django-cors-headers | ||
RUN pip3 install --user pexpect | ||
RUN pip3 install --user firebase-admin | ||
#RUN pip3 install uwsgi | ||
RUN mkdir ~/projetos | ||
RUN git clone https://github.com/lsoaresesilva/32bits.git ~/projetos/32bits | ||
RUN git clone https://github.com/lsoaresesilva/32bits-backend.git ~/projetos/32bits-backend | ||
WORKDIR /root/projetos/32bits | ||
RUN npm install | ||
RUN cd src/app/model/firestore && git submodule update --init --recursive | ||
EXPOSE 4200 | ||
#RUN sudo systemctl start nginx | ||
#WORKDIR /root/projetos/32bits-backend | ||
#RUN python manage.py collectstatic | ||
#RUN uwsgi --plugins http,python3 --socket :8001 --module lets.wsgi:application | ||
RUN ./executar.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export NODE_OPTIONS=--max_old_space_size=3096 | ||
export NODE_OPTIONS=--openssl-legacy-provider | ||
ng serve --configuration=develop |
Oops, something went wrong.