This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-24 17:01:18 +00:00
|
|
|
FROM node:12-alpine
|
|
|
|
|
|
|
|
RUN mkdir /code
|
|
|
|
WORKDIR /code
|
|
|
|
|
|
|
|
COPY package*.json /code/
|
|
|
|
|
|
|
|
RUN npm install
|
2021-04-24 17:06:53 +00:00
|
|
|
ENV PATH=$PATH:/code/node_modules/elm-linter/bin:/code/node_modules/elm-format/bin:/code/node_modules/elm-test/bin:/code/node_modules/elm/bin
|
2021-04-24 17:01:18 +00:00
|
|
|
|
|
|
|
# Add remainder of files
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/npm"]
|
2021-04-24 17:06:53 +00:00
|
|
|
CMD ["run", "prod"]
|