Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Course Site
Commits
3b8b7542
Commit
3b8b7542
authored
Nov 10, 2021
by
Daya Adianto
Browse files
Remove Dockerfile
parent
3a0fc09d
Pipeline
#87570
passed with stages
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
deleted
100644 → 0
View file @
3a0fc09d
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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment