mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 19:22:56 +00:00
21 lines
447 B
Docker
21 lines
447 B
Docker
# Dockerfile for DevContainer
|
|
FROM node:20.16.0-bullseye-slim
|
|
|
|
# Install essential packages
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
bash \
|
|
git \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set up PNPM
|
|
ENV PNPM_HOME="/pnpm"
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
|
RUN corepack enable && corepack prepare [email protected] --activate
|
|
|
|
# Create workspace directory
|
|
WORKDIR /workspaces/dokploy
|
|
|
|
# Set up user permissions
|
|
USER node |