asdass1 commited on
Commit
5a0da10
·
verified ·
1 Parent(s): 980cf30

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Menggunakan image Node.js yang lebih stabil
2
  FROM node:16-slim
3
 
 
 
 
 
 
4
  COPY package*.json ./
5
 
6
  # Install dependensi Node.js
 
1
  # Menggunakan image Node.js yang lebih stabil
2
  FROM node:16-slim
3
 
4
+
5
+ # Tentukan direktori kerja di dalam container
6
+ WORKDIR /app
7
+
8
+ # Salin file package.json dan package-lock.json terlebih dahulu
9
  COPY package*.json ./
10
 
11
  # Install dependensi Node.js