Files
once-campfire/Dockerfile-export
T
2026-10-08 10:54:35 +00: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=4.0.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", "."]