Dockerfile stuff
This commit is contained in:
parent
1a0456eb43
commit
df20bb7680
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM python:3.9-alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache mariadb-connector-c-dev git jpeg openssh-client;\
|
||||||
|
apk add --no-cache --virtual .build-deps \
|
||||||
|
build-base mariadb-connector-c-dev mariadb-dev gcc g++ jpeg-dev zlib-dev;\
|
||||||
|
pip install --no-cache-dir mysqlclient Pillow titlecase ;\
|
||||||
|
apk del .build-deps
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir bgtunnel Click mailer openpyxl python-dotenv \
|
||||||
|
PyPDF2 smartsheet-python-sdk xlrd xlutils xlwt dateparser \
|
||||||
|
datedelta pudb \
|
||||||
|
git+https://github.com/northriverboats/mysql-tunnel \
|
||||||
|
git+https://github.com/northriverboats/emailer
|
||||||
|
|
||||||
|
COPY --chown=root:root ./ssh /root/.ssh
|
||||||
|
COPY ./app /app
|
||||||
|
WORKDIR /app
|
||||||
|
CMD ["python", "script.py"]
|
1
app/script.py
Normal file
1
app/script.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print('Hello World')
|
0
ssh/id_ed25519
Normal file
0
ssh/id_ed25519
Normal file
0
ssh/id_ed25519.pub
Normal file
0
ssh/id_ed25519.pub
Normal file
0
ssh/known_hosts
Normal file
0
ssh/known_hosts
Normal file
Loading…
Reference in New Issue
Block a user