2022-07-07 10:38:15 +00:00
|
|
|
# FROM node:current-slim
|
2022-08-23 15:26:28 +00:00
|
|
|
FROM martind2000/node-python3:16-slim
|
2022-07-07 10:38:15 +00:00
|
|
|
ARG VERSION
|
|
|
|
ENV VERSION ${VERSION:-development}
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./Docker/start.sh ./package*.json ./server.js /app/
|
|
|
|
|
|
|
|
COPY ./public /app/public
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
# RUN ls -lh .
|
|
|
|
|
|
|
|
EXPOSE 8130
|
|
|
|
|
|
|
|
RUN chmod +x /app/start.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/app/start.sh"]
|