Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 697 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 697 Bytes

scala-on-alpine

An actually decent Scala image based on Alpine that is still huge because of Scala

why?

how to use

FROM ghcr.io/sparkles-laurel/scala-on-alpine:0.1.1

RUN apk update && apk upgrade

# Set the working directory
WORKDIR /app

# Copy the project files
COPY . /app

# Run sbt to download dependencies and compile the project
RUN sbt --verbose update && sbt --verbose compile

CMD ["sbt", "run"]