Dockerfile-export
Rama main · réplica de lectura del repositorio original.
# syntax = docker/dockerfile:1
# Make sure it matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=4.0.9
FROM ruby:$RUBY_VERSION-slim as base
# Install the tools we need
RUN apt update && apt install -y zip
# Export from this folder
WORKDIR /campfire
# Copy application code
COPY . .
# Create the archive
CMD ["zip", "-r", "/campfire.zip", "."]