Skip to content

Commit

Permalink
Merge pull request #55 from josephyi/fix/#53/fix-dockerfile
Browse files Browse the repository at this point in the history
Dockerfile fix for #53
  • Loading branch information
Tanner committed Oct 5, 2020
2 parents 7405013 + 3e6e4bd commit f5c763b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f5c763b

Please sign in to comment.