-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfile for standalone deployment and import traceback for err…
…or handling
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM debian:bookworm-slim | ||
|
||
# Instalar dependencias necesarias | ||
RUN apt-get update && apt-get install -y python3 libstdc++6 cups-client | ||
|
||
RUN apt-get update && apt-get install -y wget | ||
RUN wget https://github.com/paxapos/fiscalberry/releases/latest/download/fiscalberry-lin -O /usr/local/bin/fiscalberry-lin | ||
|
||
RUN chmod +x /usr/local/bin/fiscalberry-lin | ||
|
||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* | ||
CMD ["/usr/local/bin/fiscalberry-lin"] | ||
|
||
|
||
# rememter to create volume for config file in /root/.config/Fiscalberry/config.ini | ||
# echo docker run -d --name fiscalberry --privileged --volume=/home/$USER/.config/Fiscalberry:/root/.config/Fiscalberry --restart=always fiscalberry-standalone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters