Sha256: bdea68c7c4b32d9237e09d1819bc9eb45190e06017b6551e364281e74031441a

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

FROM ruby

WORKDIR /app

COPY pkg/passenger_api-*.gem ./
RUN set -eux; \
	gem install passenger_api-*.gem; \
	passenger-config install-standalone-runtime; \
	passenger-config build-native-support

#RUN set -eux; \
#	gem install passenger_api; \
#	passenger-config install-standalone-runtime; \
#	passenger-config build-native-support




FROM ruby:slim

CMD ["passenger_api"]
EXPOSE 3000
WORKDIR /app

ENV \
	PASSENGER_APP_ENV=production \
	PASSENGER_MAX_POOL_SIZE=2 \
	PASSENGER_MIN_INSTANCES=2 \
	PASSENGER_DISABLE_SECURITY_UPDATE_CHECK=true \
	PASSENGER_LOG_FILE=/dev/stdout

COPY --from=0 /usr/local/bundle /usr/local/bundle

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
passenger_api-0.2.0 Dockerfile