aps_webviewer_nodejs/Dockerfile
David Friedrich a62286c3d5 docker fixed
2024-11-08 09:32:57 +01:00

20 lines
348 B
Docker

FROM node:alpine
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
#RUN npm install -g nodaemon
COPY package*.json /usr/src/app/
RUN npm install
#UN npm install -g nodaemon
COPY . /usr/src/app/
#RUN npm install
EXPOSE 8080
CMD ./start.sh