Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
chore: update dockerfile
Browse files Browse the repository at this point in the history
move DENO_DIR up so its include in the dev build stage as well.
  • Loading branch information
ryanleecode committed Dec 20, 2022
1 parent 81f1551 commit aed3783
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

ENV DENO_DIR=/home/gitpod/.cache/deno

FROM vscode as dev
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y zsh

FROM vscode as gitpod

# Gitpod creates a gitpod user to run without privileges
# following https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
ENV DENO_DIR=/home/gitpod/.cache/deno
FROM vscode as gitpod

0 comments on commit aed3783

Please sign in to comment.