websites: use upstream dockerfile
This commit is contained in:
parent
6d8bd22987
commit
6b596e84e2
1 changed files with 0 additions and 12 deletions
|
@ -12,18 +12,6 @@ spec:
|
|||
git:
|
||||
uri: "https://gitlab.com/fedora/websites-apps/fedora-websites/fedora-websites-3.0.git"
|
||||
ref: main
|
||||
dockerfile: |-
|
||||
FROM docker.io/library/node:18 as build
|
||||
RUN apt-get update && apt-get install -y translate-toolkit && rm -rf /var/lib/apt/lists/*
|
||||
ADD . /websites
|
||||
WORKDIR /websites
|
||||
RUN npm install
|
||||
RUN npm run generate
|
||||
|
||||
FROM quay.io/fedora/fedora:37
|
||||
RUN dnf -y install s3cmd && dnf clean all
|
||||
COPY --from=build /websites/.output/public /output
|
||||
|
||||
{% else %}
|
||||
dockerfile: |-
|
||||
FROM fedora:34
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue