Skip to content

Commit

Permalink
refactor: refactoring to async functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
KyoungsueKim committed Dec 18, 2023
1 parent c71d2dc commit 4fed2ce
Show file tree
Hide file tree
Showing 5 changed files with 3,728 additions and 19 deletions.
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
FROM mindersturmoil/verbose-waffle:5
FROM python:3.11.2
MAINTAINER [email protected]

EXPOSE 64550
COPY . /opt/project/
CMD python3 /opt/project/verbose-waffle/main.py
COPY ./verbose-waffle /opt/project/verbose-waffle
COPY requirements.txt /opt/project

RUN apt-get update && apt-get install -y cups libcups2-dev
RUN service cups start

RUN pip install --no-cache-dir --upgrade -r /opt/project/requirements.txt

CMD python3 /opt/project/verbose-waffle/core/printers.py
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fastapi
uvicorn[standard]
fastapi[all]
PyPDF2
httpx
python-multipart
pycups
requests
Loading

0 comments on commit 4fed2ce

Please sign in to comment.