2020-01-31 18:05:13 +00:00
|
|
|
FROM node:12-buster
|
2017-06-23 21:00:42 +00:00
|
|
|
|
2018-07-03 06:11:10 +00:00
|
|
|
# needed to compile translations
|
|
|
|
RUN curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && chmod +x /usr/local/bin/jq
|
|
|
|
|
2017-06-23 21:00:42 +00:00
|
|
|
EXPOSE 8080
|
2018-01-08 21:47:14 +00:00
|
|
|
WORKDIR /app/
|
2018-08-11 14:21:14 +00:00
|
|
|
ADD package.json yarn.lock ./
|
2018-03-01 23:14:55 +00:00
|
|
|
RUN yarn install
|
2018-04-16 19:00:56 +00:00
|
|
|
|
2018-01-08 21:47:14 +00:00
|
|
|
COPY . .
|
2017-06-23 21:00:42 +00:00
|
|
|
|
2018-08-11 14:21:14 +00:00
|
|
|
CMD ["yarn", "serve"]
|