This commit is contained in:
2022-06-24 12:14:10 -07:00
commit 27fc1f5e16
31 changed files with 3769 additions and 0 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
# Docker image for barcode-server
FROM python:3.9
WORKDIR /app
COPY . .
RUN apt-get update \
&& apt-get -y install sudo
RUN pip install --upgrade pip;\
pip install pipenv;\
pipenv install --system --deploy;\
pip install .
ENV PUID=1000 PGID=1000
ENTRYPOINT [ "docker/entrypoint.sh", "barcode-server" ]
CMD [ "run" ]