Webapp.io Documentation home page
Search...
⌘K
Sign In
Sign Up
Sign Up
Search...
Navigation
Layerfile Reference
USER
Documentation
Examples
Blog
Community
Home
Documentation
Why Webapp?
Installation & Tutorial
Snapshots & Environment Lifecycles
Comparisons
webapp.io vs CircleCI
webapp.io vs Github Actions
Layerfile Reference
What are Layerfiles?
Linting a Layerfile
Multiple Layerfiles
The Layerfile Library
BUILD ENV
BUTTON
CACHE
CHECKPOINT
CLONE
COPY
ENV
EXPOSE WEBSITE
FROM
LABEL
MEMORY
RUN
SECRET ENV
SETUP FILE
SKIP REMAINING IF
SPLIT
USER
WAIT
WORKDIR
Common Problems
Step Rerunning
Lock during Run Repeatable
Yarn Error
Tuning Performance
The Layerfile Cache
SPLIT
RUN REPEATABLE
Advanced Workflows
Set up a Migrated Database in 5 Seconds
Docker Login
Routing
OAuth
Using Yarn
Groups and Permissions
Layerfile Analytics
API Docs
Setup
CI Jobs
Layerfile Runners
Customize Notifications
Build Speed Chart
Custom Scripts
Layerfile Status
Link to Preview Environment
Performance Graphs for Specific Pages
Site Performance Graph
Slack Notification Template
Integrations
ConfigCat
Coveralls
Cypress
Doppler
Ghost Inspector
Reflect
Slack
Hosting
Introduction
Get Started
Tutorial
Free Hosting
Hosting Domains
Features and Comparables
Community
Developer Slack Community
Technology Content
On this page
Examples
Layerfile Reference
USER
USER [username]
The
USER
instruction allows you to run as a non-root user.
The user is added to the
root
group to circumvent permission denied errors.
Examples
Use
USER www
to run the remaining commands as the
www
user.
SPLIT
WAIT
Assistant
Responses are generated using AI and may contain mistakes.