Docker file Changes

pull/1045/head
Adam Boutcher 2021-08-13 18:25:52 +01:00
parent c4a40650df
commit 6260c6f4fa
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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