Skip to content

Commit

Permalink
Merge pull request #856 from lsoaresesilva/855-configuração-do-docker
Browse files Browse the repository at this point in the history
Correção da falha de inicialização
  • Loading branch information
lsoaresesilva authored Jul 25, 2023
2 parents b51ad9f + 15b2934 commit 8e86cb7
Show file tree
Hide file tree
Showing 7 changed files with 25,696 additions and 19,234 deletions.
22 changes: 22 additions & 0 deletions Dockerfile_dev
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
1 change: 1 addition & 0 deletions executar.sh
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
Loading

0 comments on commit 8e86cb7

Please sign in to comment.