cloud development environment

Dockerfile online coding platform

Write and build Dockerfiles in the cloud with Docker CLI ready.

Start coding free →
about Dockerfile

Dockerfile in the cloud, ready in under a minute.

A Dockerfile is a text file of build instructions that creates a Docker image. It starts from a base image and layers in your application code, dependencies, and runtime configuration. On RunCode, Docker and the Docker CLI are preinstalled in your workspace, so you can write, build, and run containers without any local setup.

Open a Dockerfile workspace →
Dockerfile

Dockerfile instructions

A Dockerfile specifies the steps needed to build an image layer by layer. The Docker engine executes these instructions in sequence, starting with a base image and applying each directive on top. The result is a portable, reproducible image that includes everything the application needs to run: code, libraries, dependencies, and runtime.

  • FROM: set the base image to build on top of
  • RUN: execute a shell command during the build
  • COPY: add files from the host filesystem into the image
  • ENV: set an environment variable inside the image
  • EXPOSE: declare which port the container listens on
  • CMD: set the default command when the container starts

What you get on RunCode for Dockerfile

  • Docker CLI and build tools preinstalled
  • VS Code with Dockerfile syntax highlighting in the browser
  • A terminal for building, tagging, and running containers
  • Git integration for tracking Dockerfiles alongside your code
  • Workspace ready in under a minute
your cloud development solution

Built for the way developers actually work.

Create your workspace →
bash