19 lines
498 B
Docker
19 lines
498 B
Docker
# specify the node base image with your desired version node:<version>
|
|
FROM node:16
|
|
# replace this with your application's default port
|
|
RUN apt-get update && apt-get install -y p7zip-full && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
copy ./ /app
|
|
#RUN git clone https://gitea.simonzeyer.de/schuelerlabor-cleverlab/smarti.git /app
|
|
|
|
#RUN chmod -R 777 /app
|
|
EXPOSE 3000
|
|
ENV HOST='0.0.0.0'
|
|
ARG HOST='0.0.0.0'
|
|
RUN npm install --global serve
|
|
RUN npm install
|
|
# RUN npm install
|
|
CMD ["serve", "build", "-s"]
|
|
|