Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed May 27, 2024
1 parent e5f8555 commit 9acb1b9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ COPY package*.json ./
COPY yarn.lock ./
RUN yarn install

USER root
# Create the directory and set permissions
RUN mkdir -p /home/myuser/storage/key_value_stores/__CRAWLEE_MIGRATING_KEY_VALUE_STORE__ && chown -R myuser:myuser /home/myuser/storage
COPY --chown=myuser . ./

# Switch back to the node user
USER myuser

COPY . ./
ENTRYPOINT yarn start

0 comments on commit 9acb1b9

Please sign in to comment.