22 lines
382 B
Docker
22 lines
382 B
Docker
FROM git.caliban.io/martin/node-python:10
|
|
#FROM martind2000/node-python3:18
|
|
ARG VERSION
|
|
ENV VERSION=${VERSION:-development}
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./Docker/start.sh ./package*.json ./rollup.config.js /app/
|
|
|
|
RUN mkdir -p /app/public /app/public/img
|
|
|
|
# COPY ./src /app/src
|
|
|
|
# COPY ./types /app/types
|
|
|
|
RUN set -x && npm install
|
|
|
|
RUN chmod +x /app/start.sh
|
|
|
|
|
|
ENTRYPOINT ["/app/start.sh"]
|