menuserver/Docker/Dockerfile
Martin Donnelly 38e9027d09 Update
2024-02-26 13:42:32 +00:00

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