mirror of
https://github.com/stevenhowes/osgrid-server.git
synced 2026-05-27 00:03:38 +01:00
Use paulcager/osgridref to translate
This commit is contained in:
+10
-8
@@ -1,9 +1,11 @@
|
||||
FROM node:12.15.0
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
RUN npm --version && node --version
|
||||
RUN npm install
|
||||
COPY . .
|
||||
EXPOSE 9090
|
||||
CMD ["node", "-r", "esm", "index.js" ]
|
||||
FROM paulcager/go-base:latest
|
||||
|
||||
EXPOSE 9090
|
||||
WORKDIR /go/src/osgrid-server
|
||||
|
||||
COPY go.mod *.go ./
|
||||
RUN go install -v ./... && sha256sum /go/bin/osgrid-server
|
||||
|
||||
CMD [ "/go/bin/osgrid-server" ]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user