Dockerfile stuff
This commit is contained in:
1 parent
1a0456eb43
commit
df20bb7680
6 files changed
+20
-1
No files matched your search
+18
@@ -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,3 +1,3 @@
|
||||
# Python
|
||||
|
||||
Python-3.9 alpine linux image with added files used by my standard cronjob scripts
|
||||
Python-3.9 alpine linux image with added files used by my standard cronjob scripts
|
||||
@@ -0,0 +1 @@
|
||||
print('Hello World')
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user