This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/Dockerfile

13 lines
229 B
Docker
Raw Normal View History

2022-09-01 18:52:02 +00:00
FROM python:3.10.6-slim as build
2019-11-25 21:52:22 +00:00
2020-04-09 08:27:42 +00:00
WORKDIR /app
2022-09-01 18:52:02 +00:00
COPY . .
RUN pip install poetry && poetry build
FROM python:3.10.6-slim
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD ["pynyaata"]