2020-01-31 19:05:13 +01:00
|
|
|
FROM node:12-buster
|
2017-06-23 23:00:42 +02:00
|
|
|
|
2018-07-03 08:11:10 +02: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 23:00:42 +02:00
|
|
|
EXPOSE 8080
|
2018-01-08 22:47:14 +01:00
|
|
|
WORKDIR /app/
|
2020-05-18 12:03:30 +02:00
|
|
|
COPY scripts/ ./scripts/
|
|
|
|
|
ADD package.json yarn.lock ./
|
2018-03-02 00:14:55 +01:00
|
|
|
RUN yarn install
|
2018-04-16 21:00:56 +02:00
|
|
|
|
2018-01-08 22:47:14 +01:00
|
|
|
COPY . .
|
2017-06-23 23:00:42 +02:00
|
|
|
|
2018-08-11 16:21:14 +02:00
|
|
|
CMD ["yarn", "serve"]
|