Skip to content

Commit

Permalink
Merge pull request #114 from IntersectMBO/chore/change-dockerfile-arg…
Browse files Browse the repository at this point in the history
…ument

Chore/change dockerfile argument
  • Loading branch information
vpaunovic committed Aug 28, 2024
2 parents 7471f7c + 5a86ecd commit 9609f6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# path: ./Dockerfile
FROM node:alpine
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
ARG NODE_ENV=development
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY ./package*.json ./
Expand All @@ -11,4 +11,4 @@ WORKDIR /opt/app
COPY ./ .
RUN npm run build
EXPOSE 1337
CMD ["npm", "run", "develop"]
CMD ["npm", "run", "start"]
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@
"default": false
},
"prop_abstract": {
"type": "text",
"maxLength": 256
},
"type": "text",
"maxLength": 2500
},
"prop_motivation": {
"type": "text",
"maxLength": 256
},
"type": "text",
"maxLength": 12000
},
"prop_rationale": {
"type": "text",
"maxLength": 256
},
"type": "text",
"maxLength": 12000
},
"gov_action_type_id": {
"type": "string"
},
"prop_name": {
"type": "string",
"required": true,
"maxLength": 60
},
"type": "string",
"required": true,
"maxLength": 80
},
"prop_receiving_address": {
"type": "string",
"required": false,
Expand Down

0 comments on commit 9609f6c

Please sign in to comment.