Skip to content

Commit 5d092f3

Browse files
authored
feat: Add JSON content type for search (#465)
* add json content type for search * autoformat * update dockerfile
1 parent 32fecca commit 5d092f3

File tree

2 files changed

+303
-302
lines changed

2 files changed

+303
-302
lines changed

Dockerfile

+2-7
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ MAINTAINER Ludovic Vannoorenberghe <[email protected]>
44

55
RUN apt-get update && apt-get install -y python build-essential
66

7-
# aws env
8-
RUN curl -o /tmp/aws-env-linux-amd64 -L https://github.com/datacamp/aws-env/releases/download/v0.1-session-fix/aws-env-linux-amd64 && \
9-
chmod +x /tmp/aws-env-linux-amd64 && \
10-
mv /tmp/aws-env-linux-amd64 /bin/aws-env
11-
127
RUN npm install -g pm2 node-gyp sails grunt bower jake npm-check-updates
138

149
ENV NODE_ENV production
@@ -25,6 +20,6 @@ WORKDIR /opt/app
2520
ADD . /opt/app
2621

2722
#Expose port
28-
EXPOSE 1337
23+
EXPOSE 3000
2924

30-
CMD bash -c "eval $(aws-env) && npm start"
25+
CMD bash -c "npm start"

0 commit comments

Comments
 (0)