Swag Tags
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM alpine:latest AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base go
|
||||
FROM golang:alpine AS deps
|
||||
RUN apk add --no-cache mariadb-dev sqlite-dev build-base
|
||||
|
||||
FROM deps AS builder
|
||||
WORKDIR /app
|
||||
@ -15,4 +15,7 @@ WORKDIR /app
|
||||
RUN apk add --no-cache sqlite-libs mariadb-connector-c libgcc
|
||||
COPY --from=builder /app/bootstrap .
|
||||
|
||||
EXPOSE 3030
|
||||
ENV PORT 3030
|
||||
|
||||
CMD ["sh", "-c", "./bootstrap"]
|
Reference in New Issue
Block a user