25 lines
362 B
Docker
25 lines
362 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 ./server.js /app/
|
|
|
|
COPY ./dist /app/dist
|
|
|
|
COPY ./server /app/server
|
|
|
|
copy ./menu.db /app/db/
|
|
|
|
RUN npm install
|
|
|
|
# RUN ls -lh .
|
|
|
|
EXPOSE 3000
|
|
|
|
RUN chmod +x /app/start.sh
|
|
|
|
ENTRYPOINT ["/app/start.sh"]
|