silvrgit/Docker/Dockerfile
2022-10-17 17:26:51 +01:00

27 lines
388 B
Docker

# 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"]