Dockerfile fix for #53

This commit is contained in:
Joseph Yi 2020-10-01 13:18:57 -07:00
parent 7405013b73
commit 3e6e4bda92
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
FROM node:alpine
WORKDIR /usr/src/app
COPY src/ package.json .
COPY src .
COPY package.json .
RUN apk --no-cache add exiftool && \
npm i
EXPOSE 80 443
CMD ["node", "index.js"]
CMD ["node", "index.js"]

View File

@ -28,7 +28,7 @@ chmod +x install.sh
## Docker
```sh
docker built -t sharex-upload-server .
docker build -t sharex-upload-server .
docker run --name "sharex-upload-server" -d \
-v $(pwd)/src/config.json:/usr/src/app/config.json \
-v $(pwd)/src/db.json:/usr/src/app/db.json \