recipes.coopcloud.tech/Dockerfile

19 lines
378 B
Docker
Raw Normal View History

FROM node:12-alpine AS build
RUN mkdir /code
WORKDIR /code
COPY package*.json /code/
RUN npm install
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
# Add remainder of files
COPY . .
2023-01-25 18:30:53 +00:00
RUN ["npm", "run", "build"]
FROM dragas/thttpd
2023-01-25 18:36:14 +00:00
COPY --from=build /code/public/ /var/www/http/