Spaces:
Runtime error
Runtime error
Upload Dockerfile
Browse filesUpdate package to install
- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -46,7 +46,7 @@ COPY . .
|
|
| 46 |
|
| 47 |
# Pasang paket R versi biner (Cepat dan Anti-Gagal Kompilasi)
|
| 48 |
# Kita menggunakan repositori 'noble' karena rocker:4.5.0 berbasis Ubuntu 24.04
|
| 49 |
-
RUN R -e "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/noble/latest')); install.packages(c('plumber', 'vetiver', 'pins', 'DBI', 'RPostgres', 'jsonlite', 'dotenv', 'purrr', 'dplyr', 'ranger', 'tidymodels'))"
|
| 50 |
|
| 51 |
# 6. Atur hak akses agar kontainer bisa menulis file (misal saat mengunduh model)
|
| 52 |
RUN chmod -R 777 /app
|
|
|
|
| 46 |
|
| 47 |
# Pasang paket R versi biner (Cepat dan Anti-Gagal Kompilasi)
|
| 48 |
# Kita menggunakan repositori 'noble' karena rocker:4.5.0 berbasis Ubuntu 24.04
|
| 49 |
+
RUN R -e "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/noble/latest')); install.packages(c('plumber', 'vetiver', 'pins', 'DBI', 'RPostgres', 'jsonlite', 'dotenv', 'purrr', 'dplyr', 'ranger', 'tidymodels', 'httr2'))"
|
| 50 |
|
| 51 |
# 6. Atur hak akses agar kontainer bisa menulis file (misal saat mengunduh model)
|
| 52 |
RUN chmod -R 777 /app
|