You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
422 B
25 lines
422 B
7 months ago
|
FROM node:16.20
|
||
|
|
||
|
LABEL org.opencontainers.image.authors="tendry@blastream.com"
|
||
|
|
||
|
#RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.lis
|
||
|
|
||
|
#RUN apt-get update
|
||
|
|
||
|
#RUN apt-get install -y nano
|
||
|
|
||
|
RUN mkdir -p /home/node/app/node_modules
|
||
|
|
||
|
WORKDIR /home/node/app
|
||
|
|
||
|
COPY package*.json ./
|
||
|
|
||
|
RUN npm install
|
||
|
RUN npm install nodemon --save-dev
|
||
|
|
||
|
COPY . .
|
||
|
#COPY .env .
|
||
|
|
||
|
EXPOSE 3100
|
||
|
|
||
|
CMD [ "npm", "run", "dev" ]
|