Files
once-campfire/Dockerfile-export
Stanko K.R. ead80316e0 Port over release script
Co-Authored-By: Kevin McConnell <kevin@37signals.com>
2025-12-01 10:40:24 +01:00

18 lines
368 B
Plaintext

# syntax = docker/dockerfile:1
# Make sure it matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.4.7
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", "."]