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

This commit is contained in:
2024-07-14 18:29:33 -06:00
parent f4345fe2b9
commit 653a351653
5 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

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

View File

@@ -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) => {