26 lines
493 B
Docker
26 lines
493 B
Docker
FROM git.caliban.io/martin/node-python:8
|
|
#FROM martind2000/node-python3:18
|
|
ARG VERSION
|
|
ENV VERSION ${VERSION:-development}
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./Docker/start.sh ./package*.json ./server.js ./gulpfile.js ./mongo.yml ./ecosystem.json /app/
|
|
|
|
RUN mkdir -p /app/src /app/fonts /app/gulp /app/server /app/tools
|
|
|
|
# COPY ./src /app/src
|
|
|
|
# COPY ./types /app/types
|
|
|
|
RUN set -x \
|
|
&& npm install \
|
|
&& npm install -g gulp pm2
|
|
|
|
RUN chmod +x /app/start.sh
|
|
|
|
EXPOSE 8110
|
|
|
|
|
|
ENTRYPOINT ["/app/start.sh"]
|