Skip to content

Commit

Permalink
try to fix the environment variables for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy authored Mar 6, 2021
1 parent 1724a55 commit 1f776bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ FROM ruby:3.0-alpine AS build

RUN apk add --no-cache tzdata alpine-sdk postgresql-dev nodejs yarn python2

ARG VAN_DAM_GIT_REF
ARG VAN_DAM_GIT_SHA

ENV PORT 3214
ENV RACK_ENV production
ENV NODE_ENV production
ENV RAILS_SERVE_STATIC_FILES true
ENV VAN_DAM_GIT_REF $VAN_DAM_GIT_REF
ENV VAN_DAM_GIT_SHA $VAN_DAM_GIT_SHA
ENV VAN_DAM_GIT_REF $CI_REF_NAME
ENV VAN_DAM_GIT_SHA $CI_SHA_SHORT

WORKDIR /usr/src/app

Expand Down

0 comments on commit 1f776bc

Please sign in to comment.