Files
opensprinkler-weather/Dockerfile
2020-07-06 09:42:27 -04:00

15 lines
224 B
Docker

FROM node
EXPOSE 3000
RUN groupadd osweather && useradd --no-log-init -m -g osweather osweather
USER osweather
ADD --chown=osweather:osweather . weather
WORKDIR weather
RUN npm install
RUN npm run compile
CMD npm start