-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 765 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM node:lts-alpine
LABEL org.opencontainers.image.title="extract-gtfs-pathways"
LABEL org.opencontainers.image.description="Command-line tool to extract pathways from a GTFS dataset."
LABEL org.opencontainers.image.authors="Jannis R <[email protected]>"
LABEL org.opencontainers.image.documentation="https://github.com/derhuerst/extract-gtfs-pathways"
LABEL org.opencontainers.image.source="https://github.com/derhuerst/extract-gtfs-pathways"
LABEL org.opencontainers.image.revision="2"
LABEL org.opencontainers.image.licenses="ISC"
WORKDIR /app
ENV NODE_ENV=production
ENV npm_config_update-notifier=false
ADD package.json /app/
RUN npm install --omit=dev && npm cache clean --force
ADD . /app
WORKDIR /gtfs
ENV NODE_ENV=production
ENTRYPOINT ["/app/cli.js"]