updated docker build

This commit is contained in:
slynn1324 2021-01-25 09:50:49 -06:00
parent fae2abe466
commit 4b27ee4499
3 changed files with 9 additions and 5 deletions

View file

@ -3,9 +3,13 @@
*.crx
*.pem
.gitignore
.git
/.git
docker-run.sh
docker-build.sh
images
images*
/images
/images*
*.db*
*.md
/chrome-extension
/node-modules
data

View file

@ -6,6 +6,6 @@ WORKDIR /tinypin
RUN apk add build-base python3 && npm install --verbose && apk del build-base python3
RUN npm install
RUN mkdir /data && npm install
ENTRYPOINT ["sh", "-c" , "node server.js -i /data/images -d /data/tinypin.db"]

View file

@ -1,2 +1,2 @@
#!/bin/sh
docker build -t tinypin .
docker build -t slynn1324/tinypin .