try a build without "--prod" on the install
This commit is contained in:
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Nothing
|
- Nothing
|
||||||
|
|
||||||
|
|
||||||
## [1.2.1]
|
## [1.2.2]
|
||||||
### Added
|
### Added
|
||||||
- Replacement of an existing file
|
- Replacement of an existing file
|
||||||
- Local resolver for did:ethr
|
- Local resolver for did:ethr
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ RUN git clone https://gitea.anomalistdesign.com/log-trade/image-api.git
|
|||||||
|
|
||||||
WORKDIR image-api
|
WORKDIR image-api
|
||||||
RUN git checkout $IMAGE_API_VERSION
|
RUN git checkout $IMAGE_API_VERSION
|
||||||
RUN pnpm install --prod
|
RUN pnpm install
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
CMD node dist/server.js
|
CMD node dist/server.js
|
||||||
|
|||||||
@@ -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.
|
* Update version in package.json, server.js 'ping' endpoint, and CHANGELOG.md entry.
|
||||||
|
|
||||||
|
* Commit, push, and tag.
|
||||||
|
|
||||||
* Build the docker image.
|
* Build the docker image.
|
||||||
|
|
||||||
* Bump version and add "-beta" in package.json & server.js 'ping' endpoint.
|
* Bump version and add "-beta" in package.json & server.js 'ping' endpoint.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Images for Trade",
|
"name": "Images for Trade",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const uploadDir = 'uploads';
|
|||||||
const uploadMulter = multer({ dest: uploadDir + '/' });
|
const uploadMulter = multer({ dest: uploadDir + '/' });
|
||||||
|
|
||||||
app.get('/ping', async (req, res) => {
|
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) => {
|
app.get('/image-limits', async (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user