Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -53
Dockerfile
CHANGED
|
@@ -3,59 +3,6 @@ FROM node:latest
|
|
| 3 |
# Tentukan direktori kerja di dalam container
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
-
# Tentukan environment variable (timezone)
|
| 7 |
-
ENV TZ=Asia/Jakarta \
|
| 8 |
-
DEBIAN_FRONTEND=noninteractive
|
| 9 |
-
|
| 10 |
-
# Perbarui apt-get dan instal dependensi sistem yang diperlukan untuk Express.js dan Canvas
|
| 11 |
-
RUN apt-get update && apt-get install -y \
|
| 12 |
-
chromium \
|
| 13 |
-
ffmpeg \
|
| 14 |
-
imagemagick \
|
| 15 |
-
libnss3-dev \
|
| 16 |
-
webp \
|
| 17 |
-
gconf-service \
|
| 18 |
-
libasound2 \
|
| 19 |
-
libatk1.0-0 \
|
| 20 |
-
libc6 \
|
| 21 |
-
libcairo2 \
|
| 22 |
-
libcups2 \
|
| 23 |
-
libdbus-1-3 \
|
| 24 |
-
libexpat1 \
|
| 25 |
-
libfontconfig1 \
|
| 26 |
-
libgcc1 \
|
| 27 |
-
libgconf-2-4 \
|
| 28 |
-
libgdk-pixbuf2.0-0 \
|
| 29 |
-
libglib2.0-0 \
|
| 30 |
-
libgtk-3-0 \
|
| 31 |
-
libnspr4 \
|
| 32 |
-
libpango-1.0-0 \
|
| 33 |
-
libpangocairo-1.0-0 \
|
| 34 |
-
libstdc++6 \
|
| 35 |
-
libx11-6 \
|
| 36 |
-
libx11-xcb1 \
|
| 37 |
-
libxcb1 \
|
| 38 |
-
libxcomposite1 \
|
| 39 |
-
libxcursor1 \
|
| 40 |
-
libxdamage1 \
|
| 41 |
-
libxext6 \
|
| 42 |
-
libxfixes3 \
|
| 43 |
-
libxi6 \
|
| 44 |
-
libxrandr2 \
|
| 45 |
-
libxrender1 \
|
| 46 |
-
libxss1 \
|
| 47 |
-
libxtst6 \
|
| 48 |
-
ca-certificates \
|
| 49 |
-
fonts-liberation \
|
| 50 |
-
libappindicator1 \
|
| 51 |
-
lsb-release \
|
| 52 |
-
xdg-utils \
|
| 53 |
-
fonts-dejavu \
|
| 54 |
-
fonts-noto-color-emoji \
|
| 55 |
-
libfontconfig1 \
|
| 56 |
-
--no-install-recommends && \
|
| 57 |
-
apt-get clean
|
| 58 |
-
|
| 59 |
# Salin package.json dan package-lock.json terlebih dahulu
|
| 60 |
COPY package*.json ./
|
| 61 |
|
|
|
|
| 3 |
# Tentukan direktori kerja di dalam container
|
| 4 |
WORKDIR /app
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# Salin package.json dan package-lock.json terlebih dahulu
|
| 7 |
COPY package*.json ./
|
| 8 |
|