Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 3b8b7542 authored by Daya Adianto's avatar Daya Adianto
Browse files

Remove Dockerfile

parent 3a0fc09d
No related branches found
No related tags found
No related merge requests found
Pipeline #87570 passed
FROM python:3.9-alpine AS builder
# Create a working directory
WORKDIR /src
# Copy project files into the builder image
COPY . .
# Install dependencies
ENV PIPENV_VENV_IN_PROJECT=1
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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment