First commit
This commit is contained in:
commit
ac12f67b15
3 changed files with 22 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM python:3
|
||||
RUN apt-get update && apt-get install -y python3-pip
|
||||
RUN pip3 install --upgrade pip
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
COPY /app/app.py /app
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY . .
|
||||
CMD ["python3", "app.py"]
|
||||
|
||||
6
app/app.py
Normal file
6
app/app.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
def main():
|
||||
print('I am the main print. Hi, dude!')
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
6
requirements.txt
Normal file
6
requirements.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
copier
|
||||
invoke
|
||||
numpy
|
||||
pandas
|
||||
psycopg
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue