mirror of
https://github.com/Gimanh/taskview-community.git
synced 2026-09-11 13:29:17 +00:00
18 lines
395 B
Docker
18 lines
395 B
Docker
FROM node:24.12.0-alpine
|
|
RUN apk add --no-cache postgresql-client
|
|
|
|
# ENV DB_HOST=localhost
|
|
# ENV DB_USER=tvdbuser
|
|
# ENV DB_PASSWORD=tvdbpass
|
|
# ENV DB_NAME=taskviewdb
|
|
# ENV DB_PORT=5432
|
|
|
|
WORKDIR /app-migration
|
|
COPY ./dist-migration/taskview ./taskview
|
|
COPY ./dist-migration/taskview-db-migration.js ./
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|