3wc 32366b7bf7
All checks were successful
continuous-integration/drone/push Build is passing
Whoops, wrong path
2023-01-25 10:36:14 -08:00

19 lines
378 B
Docker

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 . .
RUN ["npm", "run", "build"]
FROM dragas/thttpd
COPY --from=build /code/public/ /var/www/http/