Browse Source

try a build without "--prod" on the install

master 1.2.2
Trent Larson 2 months ago
parent
commit
653a351653
  1. 2
      CHANGELOG.md
  2. 2
      Dockerfile
  3. 2
      README.md
  4. 2
      package.json
  5. 2
      src/server.ts

2
CHANGELOG.md

@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Nothing
## [1.2.1]
## [1.2.2]
### Added
- Replacement of an existing file
- Local resolver for did:ethr

2
Dockerfile

@ -8,7 +8,7 @@ RUN git clone https://gitea.anomalistdesign.com/log-trade/image-api.git
WORKDIR image-api
RUN git checkout $IMAGE_API_VERSION
RUN pnpm install --prod
RUN pnpm install
RUN pnpm build
CMD node dist/server.js

2
README.md

@ -59,6 +59,8 @@ JWT=`node -e "$CODE"`; curl -X DELETE -H "Authorization: Bearer $JWT" http://loc
* Update version in package.json, server.js 'ping' endpoint, and CHANGELOG.md entry.
* Commit, push, and tag.
* Build the docker image.
* Bump version and add "-beta" in package.json & server.js 'ping' endpoint.

2
package.json

@ -1,6 +1,6 @@
{
"name": "Images for Trade",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"license": "UNLICENSED",
"dependencies": {

2
src/server.ts

@ -49,7 +49,7 @@ const uploadDir = 'uploads';
const uploadMulter = multer({ dest: uploadDir + '/' });
app.get('/ping', async (req, res) => {
res.send('pong - v 1.2.1'); // version
res.send('pong - v 1.2.2'); // version
});
app.get('/image-limits', async (req, res) => {

Loading…
Cancel
Save