Files
tam3/webapp/Dockerfile

15 lines
239 B
Docker
Raw Normal View History

2025-10-03 18:02:40 -04:00
FROM docker.io/node:lts-alpine AS build
2025-09-28 16:57:03 -04:00
2025-10-03 18:02:40 -04:00
RUN mkdir /data
2025-09-28 16:57:03 -04:00
WORKDIR /app
2025-10-03 18:02:40 -04:00
2025-09-28 16:57:03 -04:00
COPY . .
RUN npm install && npm run build
ENV DATABASE_URL=file:/data/local.db
COPY deploy/start-server.sh start-server.sh
EXPOSE 3000
CMD ["sh", "start-server.sh"]