mirror of
https://git.auk.su/Dinect/bonus-import-tools.git
synced 2025-12-28 18:10:01 +00:00
__version__ = '1.0.2'
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.11-alpine
|
||||
|
||||
RUN apk update && apk add gcc python3-dev build-base linux-headers
|
||||
# copy the requirements file into the image
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
# switch working directory
|
||||
WORKDIR /app
|
||||
# install the dependencies and packages in the requirements file
|
||||
RUN pip install -r requirements.txt
|
||||
# copy every content from the local file to the image
|
||||
COPY . /app
|
||||
# configure the container to run in an executed manner
|
||||
ENTRYPOINT ["python"]
|
||||
CMD ["app.py"]
|
||||
Reference in New Issue
Block a user