mirror of https://github.com/statping/statping
Docker file Changes
parent
c4a40650df
commit
6260c6f4fa
|
@ -1,4 +1,4 @@
|
|||
FROM statping/statping:base AS base
|
||||
FROM aboutcher/statping-ng:base AS base
|
||||
ARG BUILDPLATFORM
|
||||
# Statping main Docker image that contains all required libraries
|
||||
FROM alpine:latest
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM node:12.18.2-alpine AS frontend
|
||||
LABEL maintainer="Hunter Long (https://github.com/hunterlong)"
|
||||
LABEL maintainer="Statping-NG (https://github.com/statping-ng)"
|
||||
ARG BUILDPLATFORM
|
||||
WORKDIR /statping
|
||||
COPY ./frontend/package.json .
|
||||
|
@ -11,7 +11,7 @@ RUN yarn build && yarn cache clean
|
|||
# Statping Golang BACKEND building from source
|
||||
# Creates "/go/bin/statping" and "/usr/local/bin/sass" for copying
|
||||
FROM golang:1.14-alpine AS backend
|
||||
LABEL maintainer="Hunter Long (https://github.com/hunterlong)"
|
||||
LABEL maintainer="Statping-NG (https://github.com/statping-ng)"
|
||||
ARG VERSION
|
||||
ARG COMMIT
|
||||
ARG BUILDPLATFORM
|
||||
|
@ -25,7 +25,7 @@ RUN git clone https://github.com/sass/sassc.git
|
|||
RUN . sassc/script/bootstrap && make -C sassc -j4
|
||||
# sassc binary: /root/sassc/bin/sassc
|
||||
|
||||
WORKDIR /go/src/github.com/statping/statping
|
||||
WORKDIR /go/src/github.com/statping-ng/statping-ng
|
||||
ADD go.mod go.sum ./
|
||||
RUN go mod download
|
||||
ENV GO111MODULE on
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '2.3'
|
|||
services:
|
||||
statping:
|
||||
container_name: statping
|
||||
image: statping/statping:dev
|
||||
image: aboutcher/statping-ng:dev
|
||||
restart: always
|
||||
volumes:
|
||||
- statping_data:/app
|
||||
|
|
Loading…
Reference in New Issue