Skip to content

Velnbur/trunk-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

trunk-image

A docker image with trunk builder inside it.

For example for building wasm bundle:

FROM ghcr.io/velnbur/trunk:master

# copy project
WORKDIR /usr/src/
COPY . .

# build project
RUN trunk build --release

EXPOSE 80

CMD ["trunk", "serve", "--release", "--address", "0.0.0.0", "--port", "80"]