2021-01-03 16:10:57 +00:00
|
|
|
FROM alpine:3.12.3
|
2021-01-01 20:41:09 +00:00
|
|
|
WORKDIR /opt/
|
2021-01-01 14:14:03 +00:00
|
|
|
|
2021-01-02 23:45:04 +00:00
|
|
|
ADD ./release/*/*/ubnt-freifunk-map-api /opt/ubnt-freifunk-map-api
|
2021-01-01 20:41:09 +00:00
|
|
|
ADD ./devices.json /opt/devices.json
|
2021-02-05 23:28:52 +00:00
|
|
|
ADD ./ucDevices.json /opt/ucDevices.json
|
2021-01-01 20:41:09 +00:00
|
|
|
RUN chmod +x /opt/ubnt-freifunk-map-api
|
2021-01-01 14:14:03 +00:00
|
|
|
|
2021-01-03 20:19:14 +00:00
|
|
|
EXPOSE 3000
|
2021-01-01 20:41:09 +00:00
|
|
|
ENTRYPOINT [ "/opt/ubnt-freifunk-map-api" ]
|