aps_webviewer_nodejs/Dockerfile

21 lines
348 B
Text
Raw Normal View History

2024-11-08 07:51:28 +01:00
2024-11-08 09:32:57 +01:00
FROM node:alpine
2024-11-08 07:51:28 +01:00
# 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
2024-11-08 09:32:57 +01:00
#RUN npm install -g nodaemon
COPY package*.json /usr/src/app/
2024-11-08 07:51:28 +01:00
RUN npm install
2024-11-08 09:32:57 +01:00
#UN npm install -g nodaemon
COPY . /usr/src/app/
#RUN npm install
2024-11-08 07:51:28 +01:00
EXPOSE 8080
CMD ./start.sh