From bfbef7d60f88074d500ee5d969f94e6c7288466f Mon Sep 17 00:00:00 2001 From: Nicolas Le Gall Date: Mon, 16 Oct 2023 11:19:08 +0900 Subject: [PATCH] Add docker label and remove dev/test gems --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 652b9f81..6ff0385d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM ruby:3.1-alpine +LABEL org.opencontainers.image.vendor="Synoptik Labs" LABEL org.opencontainers.image.authors="nicolas.legall@synoptik-labs.com" +LABEL org.opencontainers.image.title="Staytus" +LABEL org.opencontainers.image.base.name="nioupola/staytus:latest" +LABEL org.opencontainers.image.source="https://github.com/tete2soja/staytus" +LABEL org.opencontainers.image.licenses="MIT" USER root @@ -7,6 +12,7 @@ RUN apk add --update --no-cache build-base nodejs npm mariadb-dev COPY . /opt/staytus +ENV BUNDLER_WITHOUT development test RUN cd /opt/staytus && \ bundle config set --local without 'development:test' && \ bundle config set --local deployment 'true' && \