mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
chore: latest dnt
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM mcr.microsoft.com/vscode/devcontainers/base:debian-10
|
FROM mcr.microsoft.com/vscode/devcontainers/base:0-buster
|
||||||
|
|
||||||
ENV DENO_INSTALL=/deno
|
ENV DENO_INSTALL=/deno
|
||||||
RUN mkdir -p /deno \
|
RUN mkdir -p /deno \
|
||||||
@@ -8,8 +8,12 @@ RUN mkdir -p /deno \
|
|||||||
ENV PATH=${DENO_INSTALL}/bin:${PATH} \
|
ENV PATH=${DENO_INSTALL}/bin:${PATH} \
|
||||||
DENO_DIR=${DENO_INSTALL}/.cache/deno
|
DENO_DIR=${DENO_INSTALL}/.cache/deno
|
||||||
|
|
||||||
# RUN deno cache deps.ts
|
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
# [Optional] Uncomment this section to install additional OS packages.
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
&& apt-get -y install --no-install-recommends make
|
||||||
|
|
||||||
|
# Install node
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash
|
||||||
|
RUN apt-get -y install --no-install-recommends nodejs
|
||||||
|
|
||||||
|
USER vscode
|
||||||
+2
-1
@@ -4,4 +4,5 @@ configs.ts
|
|||||||
|
|
||||||
# npm stuff
|
# npm stuff
|
||||||
.npmignore
|
.npmignore
|
||||||
package.json
|
package.json
|
||||||
|
npm/
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { build } from "https://deno.land/x/dnt@0.6.0/mod.ts";
|
import { build } from "https://deno.land/x/dnt@0.7.3/mod.ts";
|
||||||
import { DISCORDENO_VERSION } from "./mod.ts";
|
import { DISCORDENO_VERSION } from "./mod.ts";
|
||||||
|
|
||||||
await Deno.remove("npm", { recursive: true }).catch((_) => {});
|
await Deno.remove("npm", { recursive: true }).catch((_) => {});
|
||||||
|
|||||||
Reference in New Issue
Block a user