Skip to content

Commit

Permalink
dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
manudiv16 committed Oct 3, 2020
1 parent 66f28c3 commit 0374f2c
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 729 deletions.
29 changes: 0 additions & 29 deletions doc/Finit_automat/docs/Dfa.md

This file was deleted.

Binary file removed doc/icon.png
Binary file not shown.
13 changes: 13 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:latest

COPY src/ .
COPY requirements.txt .
ENV TZ=Europe/Madrid

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update \
&& apt-get install -y python3-pip python3 graphviz\
&& pip3 install --upgrade pip \
&& pip3 install -r requirements.txt

CMD ["gunicorn", "-b", "0.0.0.0:5000", "wsgi:app"]
81 changes: 0 additions & 81 deletions json/dfa.json

This file was deleted.

63 changes: 0 additions & 63 deletions json/dfa1.json

This file was deleted.

45 changes: 0 additions & 45 deletions json/nfa.json

This file was deleted.

4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
PySimpleAutomata~=0.5.0
Flask~=1.1.2
Flask~=1.1.2
Finit-Automaton
gunicorn
33 changes: 0 additions & 33 deletions src/AF/StateFa.py

This file was deleted.

Empty file removed src/AF/__init__.py
Empty file.

0 comments on commit 0374f2c

Please sign in to comment.