justinhackers29 commited on
Commit
4f12bba
1 Parent(s): d9252dc

remove "\\" from ENV between home and path to fix error -> "error: failed to solve: Syntax error - can't find = in "\\\\". Must be of the form: name=value"

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -15,8 +15,7 @@ RUN useradd -m -u 1000 user
15
  # Switch to the "user" user
16
  USER user
17
  # Set home to the user's home directory
18
- ENV HOME=/home/user \\
19
- PATH=/home/user/.local/bin:$PATH
20
 
21
  # Set the working directory to the user's home directory
22
  WORKDIR $HOME/app
 
15
  # Switch to the "user" user
16
  USER user
17
  # Set home to the user's home directory
18
+ ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
 
19
 
20
  # Set the working directory to the user's home directory
21
  WORKDIR $HOME/app