Fakultas Ilmu Komputer UI

Commit 3b8b7542 authored by Daya Adianto's avatar Daya Adianto
Browse files

Remove Dockerfile

parent 3a0fc09d
Pipeline #87570 passed with stages
in 1 minute
FROM python:3.9-alpine AS builder
# Create a working directory
# Copy project files into the builder image
COPY . .
# Install dependencies
RUN apk update && apk add --no-cache \
gcc=10.2.1_pre1-r3 \
musl-dev=1.2.2-r0 \
&& pip install --no-cache-dir "pipenv==2020.11.15" \
&& pipenv sync \
&& pipenv run mkdocs build
FROM nginx:1.19-alpine
# Copy the generated static site
COPY --from=builder /src/site /usr/share/nginx/html
# Set metadata information for the container image
LABEL org.opencontainers.image.authors="PMPL Teaching Team" \
org.opencontainers.image.vendor="Faculty of Computer Science Universitas Indonesia" \
org.opencontainers.image.title="PMPL Static Website" \
org.opencontainers.image.description="Static website for pmpl.cs.ui.ac.id"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment