prettier
This commit is contained in:
commit
1e92545c48
1 changed files with 15 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM almalinux:9 as installer
|
||||
|
||||
RUN dnf install \
|
||||
--installroot /fakeroot \
|
||||
--releasever 9 \
|
||||
--setopt install_weak_deps=false \
|
||||
--nodocs -y \
|
||||
nodejs npm \
|
||||
&& dnf clean all --installroot /fakeroot
|
||||
|
||||
|
||||
FROM scratch
|
||||
COPY --from=installer /fakeroot /
|
||||
RUN npm install -g prettier \
|
||||
&& npm cache clean --force
|
Loading…
Reference in a new issue