silvrgit/Docker/Dockerfile

27 lines
388 B
Docker
Raw Normal View History

2022-10-17 16:26:51 +00:00
# FROM node:current-slim
FROM martind2000/node-python3:16-slim
ARG VERSION
ENV VERSION ${VERSION:-development}
WORKDIR /app
COPY ./Docker/start.sh ./package*.json ./web-server.js /app/
COPY ./dist /app/dist
COPY ./views /app/views
COPY ./lib /app/lib
COPY ./config /app/config
RUN pnpm install
# RUN ls -lh .
EXPOSE 9000
RUN chmod +x /app/start.sh
ENTRYPOINT ["/app/start.sh"]